Index: src/gpu/GrPipelineBuilder.cpp |
diff --git a/src/gpu/GrPipelineBuilder.cpp b/src/gpu/GrPipelineBuilder.cpp |
index f1d5c26168c8eceec4e6fbdbf3e39736d8da35a7..2eba5354fa0f1a9b19e3c33be2b300b99584fc4c 100644 |
--- a/src/gpu/GrPipelineBuilder.cpp |
+++ b/src/gpu/GrPipelineBuilder.cpp |
@@ -44,6 +44,8 @@ GrPipelineBuilder::GrPipelineBuilder(const GrPaint& paint, GrRenderTarget* rt, c |
this->setState(GrPipelineBuilder::kHWAntialias_Flag, |
rt->isUnifiedMultisampled() && paint.isAntiAlias()); |
+ this->setState(GrPipelineBuilder::kDisableOutputConversionToSRGB_Flag, |
+ paint.getDisableOutputConversionToSRGB()); |
} |
//////////////////////////////////////////////////////////////////////////////s |