Index: src/gpu/SkGpuDevice_drawTexture.cpp |
diff --git a/src/gpu/SkGpuDevice_drawTexture.cpp b/src/gpu/SkGpuDevice_drawTexture.cpp |
index 1be2dd59bcb2a0404e6038642447b410a610f0de..8464895eabe262e250040e7b0e7e3ed261969d84 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(), |
- &grPaint)) { |
+ this->surfaceProps().allowSRGBInputs(), &grPaint)) { |
return; |
} |