Index: src/gpu/GrImageIDTextureAdjuster.cpp |
diff --git a/src/gpu/GrImageIDTextureAdjuster.cpp b/src/gpu/GrImageIDTextureAdjuster.cpp |
index 6cfee90c147c0c96cf5c7a7b5951f1715512cdfa..5ba99d20de7ffe7b1fd3cd6c4aa98dc4dabdc8d2 100644 |
--- a/src/gpu/GrImageIDTextureAdjuster.cpp |
+++ b/src/gpu/GrImageIDTextureAdjuster.cpp |
@@ -90,10 +90,11 @@ |
return tex; |
} |
} |
+ // disable mipmapping until we generate anisotropic mipmap levels |
+ willBeMipped = false; |
if (willBeMipped) { |
tex = GrGenerateMipMapsAndUploadToTexture(this->context(), fBitmap); |
- } |
- if (!tex) { |
+ } else { |
tex = GrUploadBitmapToTexture(this->context(), fBitmap); |
} |
if (tex && fOriginalKey.isValid()) { |