| Index: src/gpu/GrTextureProvider.cpp
|
| diff --git a/src/gpu/GrTextureProvider.cpp b/src/gpu/GrTextureProvider.cpp
|
| index 3596ba6c12ce3287deb489a6d760d1344d4abc9b..1053ab272b2fe0c7c4ffd2c1064bb4aaa2e66186 100644
|
| --- a/src/gpu/GrTextureProvider.cpp
|
| +++ b/src/gpu/GrTextureProvider.cpp
|
| @@ -50,8 +50,7 @@ GrTexture* GrTextureProvider::createMipMappedTexture(const GrSurfaceDesc& desc,
|
| !fGpu->caps()->isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) {
|
| return nullptr;
|
| }
|
| - if (!GrPixelConfigIsCompressed(desc.fConfig) &&
|
| - !desc.fTextureStorageAllocator.fAllocateTextureStorage) {
|
| + if (!GrPixelConfigIsCompressed(desc.fConfig)) {
|
| if (mipLevelCount < 2) {
|
| static const uint32_t kFlags = kExact_ScratchTextureFlag |
|
| kNoCreate_ScratchTextureFlag;
|
|
|