Index: src/gpu/GrTexture.cpp |
diff --git a/src/gpu/GrTexture.cpp b/src/gpu/GrTexture.cpp |
index fe5b2c3c375d9b2131eb1ba1a43d39cea0d74f14..249fe98c20614eb52b631315104a2fb5f72bdf37 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); |