Index: src/effects/gradients/SkSweepGradient.cpp |
diff --git a/src/effects/gradients/SkSweepGradient.cpp b/src/effects/gradients/SkSweepGradient.cpp |
index 686d87742ed6a25fbc98bf58a5e7b654ef8d0ee9..ce4edae9b8a780c2f0c7d6719e46f322e62efddc 100644 |
--- a/src/effects/gradients/SkSweepGradient.cpp |
+++ b/src/effects/gradients/SkSweepGradient.cpp |
@@ -277,7 +277,7 @@ void GrGLSweepGradient::emitCode(GrGLFPBuilder* builder, |
const GrSweepGradient& ge = fp.cast<GrSweepGradient>(); |
this->emitUniforms(builder, ge); |
SkString coords2D = builder->getFragmentShaderBuilder()->ensureFSCoords2D(coords, 0); |
- const GrGLContextInfo ctxInfo = builder->ctxInfo(); |
+ const GrGLContextInfo& ctxInfo = builder->ctxInfo(); |
joshualitt
2015/05/22 17:29:47
lol
|
SkString t; |
// 0.1591549430918 is 1/(2*pi), used since atan returns values [-pi, pi] |
// On Intel GPU there is an issue where it reads the second arguement to atan "- %s.x" as an int |