Index: src/gpu/SkGpuDevice_drawTexture.cpp |
diff --git a/src/gpu/SkGpuDevice_drawTexture.cpp b/src/gpu/SkGpuDevice_drawTexture.cpp |
index 8464895eabe262e250040e7b0e7e3ed261969d84..9b197efa5160ce250ea91df910a104f016e908c5 100644 |
--- a/src/gpu/SkGpuDevice_drawTexture.cpp |
+++ b/src/gpu/SkGpuDevice_drawTexture.cpp |
@@ -206,7 +206,7 @@ void SkGpuDevice::drawTextureProducerImpl(GrTextureProducer* producer, |
GrPaint grPaint; |
if (!SkPaintToGrPaintWithTexture(fContext, paint, viewMatrix, fp, producer->isAlphaOnly(), |
- this->surfaceProps().allowSRGBInputs(), &grPaint)) { |
+ this->surfaceProps().isGammaCorrect(), &grPaint)) { |
return; |
} |