Index: src/gpu/GrTextureProvider.cpp |
diff --git a/src/gpu/GrTextureProvider.cpp b/src/gpu/GrTextureProvider.cpp |
index 7c1e0cf53074c3ba5ea135aeae4d40bab53e5ae4..1c2f36535a0166ce143d66ca34936f9874ec1cb8 100644 |
--- a/src/gpu/GrTextureProvider.cpp |
+++ b/src/gpu/GrTextureProvider.cpp |
@@ -40,8 +40,7 @@ |
!fGpu->caps()->isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { |
return nullptr; |
} |
- if (!GrPixelConfigIsCompressed(desc.fConfig) && |
- !desc.fTextureStorageAllocator.fAllocateTextureStorage) { |
+ if (!GrPixelConfigIsCompressed(desc.fConfig)) { |
static const uint32_t kFlags = kExact_ScratchTextureFlag | |
kNoCreate_ScratchTextureFlag; |
if (GrTexture* texture = this->refScratchTexture(desc, kFlags)) { |