Index: src/gpu/GrPipelineBuilder.cpp |
diff --git a/src/gpu/GrPipelineBuilder.cpp b/src/gpu/GrPipelineBuilder.cpp |
index d82ee1c0c2e140f856bad9d23262791558851aa9..252c26577e5f15c65349b1cd87cde0b5772911d6 100644 |
--- a/src/gpu/GrPipelineBuilder.cpp |
+++ b/src/gpu/GrPipelineBuilder.cpp |
@@ -46,6 +46,8 @@ GrPipelineBuilder::GrPipelineBuilder(const GrPaint& paint, GrRenderTarget* rt, c |
rt->isUnifiedMultisampled() && paint.isAntiAlias()); |
this->setState(GrPipelineBuilder::kDisableOutputConversionToSRGB_Flag, |
paint.getDisableOutputConversionToSRGB()); |
+ this->setState(GrPipelineBuilder::kAllowSRGBInputs_Flag, |
+ paint.getAllowSRGBInputs()); |
} |
//////////////////////////////////////////////////////////////////////////////s |