Index: src/gpu/GrTexture.cpp |
diff --git a/src/gpu/GrTexture.cpp b/src/gpu/GrTexture.cpp |
index dd9bd62c96d110b760e8071946dfa8e5cf28509d..905455a9ec7030b1ac3d69019927888da320f637 100644 |
--- a/src/gpu/GrTexture.cpp |
+++ b/src/gpu/GrTexture.cpp |
@@ -85,8 +85,7 @@ |
: INHERITED(gpu, lifeCycle, desc) |
, fMipMapsStatus(kNotAllocated_MipMapsStatus) { |
- if (!this->isExternal() && !GrPixelConfigIsCompressed(desc.fConfig) && |
- !desc.fTextureStorageAllocator.fAllocateTextureStorage) { |
+ if (!this->isExternal() && !GrPixelConfigIsCompressed(desc.fConfig)) { |
GrScratchKey key; |
GrTexturePriv::ComputeScratchKey(desc, &key); |
this->setScratchKey(key); |