| Index: cc/resources/resource_provider.cc
|
| diff --git a/cc/resources/resource_provider.cc b/cc/resources/resource_provider.cc
|
| index f9f0e1c40678d93a9369d18062534bd1f25a52a0..f6ccf4e85e2f642e53983f3303d9fd3a81970885 100644
|
| --- a/cc/resources/resource_provider.cc
|
| +++ b/cc/resources/resource_provider.cc
|
| @@ -1678,7 +1678,8 @@ void ResourceProvider::LazyAllocate(Resource* resource) {
|
| DCHECK_EQ(resource->target, static_cast<GLenum>(GL_TEXTURE_2D));
|
| ResourceFormat format = resource->format;
|
| GLC(context3d, context3d->bindTexture(GL_TEXTURE_2D, resource->gl_id));
|
| - if (use_texture_storage_ext_ && IsFormatSupportedForStorage(format)) {
|
| + if (use_texture_storage_ext_ && IsFormatSupportedForStorage(format) &&
|
| + resource->hint != TextureUsageFramebuffer) {
|
| GLenum storage_format = TextureToStorageFormat(format);
|
| GLC(context3d, context3d->texStorage2DEXT(GL_TEXTURE_2D,
|
| 1,
|
|
|