Index: src/gpu/GrTextureParamsAdjuster.cpp |
diff --git a/src/gpu/GrTextureParamsAdjuster.cpp b/src/gpu/GrTextureParamsAdjuster.cpp |
index 8868309a80ccdfbba8eb675e5fbec8305f07874e..3c4769b96e7f1a7404bc0ff272aa598d5b567a8b 100644 |
--- a/src/gpu/GrTextureParamsAdjuster.cpp |
+++ b/src/gpu/GrTextureParamsAdjuster.cpp |
@@ -72,6 +72,7 @@ static GrTexture* copy_on_gpu(GrTexture* inputTexture, const SkIRect* subset, |
// TODO: If no scaling is being performed then use copySurface. |
GrPaint paint; |
+ paint.setGammaCorrect(true); |
egdaniel
2016/05/11 22:04:46
so you have no conditional around this, so we alwa
Brian Osman
2016/05/12 01:01:35
This sets two flags on the paint (one that basical
|
// TODO: Initializing these values for no reason cause the compiler is complaining |
SkScalar sx = 0.f; |