Index: src/gpu/GrPipeline.cpp |
diff --git a/src/gpu/GrPipeline.cpp b/src/gpu/GrPipeline.cpp |
index 8e542d2a70697ca9d5fba96f714e74993b5b3516..e3c48649805dfff9409a0392414ae30e845caa10 100644 |
--- a/src/gpu/GrPipeline.cpp |
+++ b/src/gpu/GrPipeline.cpp |
@@ -81,6 +81,9 @@ GrPipeline* GrPipeline::CreateAt(void* memory, const CreateArgs& args, |
if (builder.snapVerticesToPixelCenters()) { |
pipeline->fFlags |= kSnapVertices_Flag; |
} |
+ if (builder.getDisableOutputConversionToSRGB()) { |
+ pipeline->fFlags |= kDisableOutputConversionToSRGB_Flag; |
+ } |
int firstColorProcessorIdx = args.fOpts.fColorPOI.firstEffectiveProcessorIndex(); |