Index: src/gpu/GrTexture.cpp |
diff --git a/src/gpu/GrTexture.cpp b/src/gpu/GrTexture.cpp |
index fe5b2c3c375d9b2131eb1ba1a43d39cea0d74f14..76916aee9ad0c57431b675289e46c46cf842ca8a 100644 |
--- a/src/gpu/GrTexture.cpp |
+++ b/src/gpu/GrTexture.cpp |
@@ -91,9 +91,6 @@ GrTexture::GrTexture(GrGpu* gpu, LifeCycle lifeCycle, const GrSurfaceDesc& desc) |
GrTexturePriv::ComputeScratchKey(desc, &key); |
this->setScratchKey(key); |
} |
- // only make sense if alloc size is pow2 |
- fShiftFixedX = 31 - SkCLZ(fDesc.fWidth); |
- fShiftFixedY = 31 - SkCLZ(fDesc.fHeight); |
} |
void GrTexturePriv::ComputeScratchKey(const GrSurfaceDesc& desc, GrScratchKey* key) { |