Index: src/gpu/GrTexture.cpp |
diff --git a/src/gpu/GrTexture.cpp b/src/gpu/GrTexture.cpp |
index fdde9a322c268d9acfb0069748cf0d1bba26c319..bcff356e933ed03a81c3dcdde0ff11d00cdbe8ef 100644 |
--- a/src/gpu/GrTexture.cpp |
+++ b/src/gpu/GrTexture.cpp |
@@ -207,6 +207,11 @@ GrSurfaceOrigin resolve_origin(const GrTextureDesc& desc) { |
} |
////////////////////////////////////////////////////////////////////////////// |
+GrTextureImpl::GrTextureImpl(GrGpu* gpu, bool isWrapped, const GrTextureDesc& desc) |
+ : INHERITED(gpu, isWrapped, desc) |
+ , fMipMapsStatus(kNotAllocated_MipMapsStatus) { |
+ this->setScratchKey(ComputeScratchKey(desc)); |
+} |
GrResourceKey GrTextureImpl::ComputeKey(const GrGpu* gpu, |
const GrTextureParams* params, |