Index: src/gpu/SkGpuDevice_drawTexture.cpp |
diff --git a/src/gpu/SkGpuDevice_drawTexture.cpp b/src/gpu/SkGpuDevice_drawTexture.cpp |
index 8dc4926c53867df4bc957d85445b1a41a22be53e..e4029857c140c184170ffaa688b0d7aaac20efa5 100644 |
--- a/src/gpu/SkGpuDevice_drawTexture.cpp |
+++ b/src/gpu/SkGpuDevice_drawTexture.cpp |
@@ -206,7 +206,7 @@ void SkGpuDevice::drawTextureProducerImpl(GrTextureProducer* producer, |
? SkSourceGammaTreatment::kRespect : SkSourceGammaTreatment::kIgnore; |
sk_sp<GrFragmentProcessor> fp(producer->createFragmentProcessor( |
*textureMatrix, clippedSrcRect, constraintMode, coordsAllInsideSrcRect, filterMode, |
- gammaTreatment)); |
+ fDrawContext->getColorSpace(), gammaTreatment)); |
if (!fp) { |
return; |
} |