Index: tools/gpu/GrTest.cpp |
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp |
index 95b7802a4d16d4e960aa09331a412f989d76d6aa..c707b69375f953f5c5dc53e2213d2b2c785cd736 100644 |
--- a/tools/gpu/GrTest.cpp |
+++ b/tools/gpu/GrTest.cpp |
@@ -156,7 +156,7 @@ void SkGpuDevice::drawTexture(GrTexture* tex, const SkRect& dst, const SkPaint& |
SkMatrix mat; |
mat.reset(); |
if (!SkPaintToGrPaint(this->context(), paint, mat, |
- this->surfaceProps().allowSRGBInputs(), &grPaint)) { |
+ this->surfaceProps().isGammaCorrect(), &grPaint)) { |
return; |
} |
SkMatrix textureMat; |