Index: src/gpu/SkGpuDevice_drawTexture.cpp |
diff --git a/src/gpu/SkGpuDevice_drawTexture.cpp b/src/gpu/SkGpuDevice_drawTexture.cpp |
index e4029857c140c184170ffaa688b0d7aaac20efa5..6014e952139c1bfb606a670b18a378fbeaa7942d 100644 |
--- a/src/gpu/SkGpuDevice_drawTexture.cpp |
+++ b/src/gpu/SkGpuDevice_drawTexture.cpp |
@@ -213,7 +213,7 @@ void SkGpuDevice::drawTextureProducerImpl(GrTextureProducer* producer, |
GrPaint grPaint; |
if (!SkPaintToGrPaintWithTexture(fContext, paint, viewMatrix, fp, producer->isAlphaOnly(), |
- gammaCorrect, &grPaint)) { |
+ gammaCorrect, fDrawContext->getColorSpace(), &grPaint)) { |
return; |
} |