Index: src/gpu/GrTextureProvider.cpp |
diff --git a/src/gpu/GrTextureProvider.cpp b/src/gpu/GrTextureProvider.cpp |
index 7d720eb1212dd0455953892c75e550155975fe03..105cce2fb737bd61b8483f866d7dbbdab4115912 100644 |
--- a/src/gpu/GrTextureProvider.cpp |
+++ b/src/gpu/GrTextureProvider.cpp |
@@ -39,8 +39,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)) { |