| Index: src/gpu/effects/GrDitherEffect.cpp
|
| diff --git a/src/gpu/effects/GrDitherEffect.cpp b/src/gpu/effects/GrDitherEffect.cpp
|
| index be226570fab1b9542b5d8fe9390aaad26e0e6d6a..7409e5ff7151818442b74ed68938d27ec38cd9b0 100644
|
| --- a/src/gpu/effects/GrDitherEffect.cpp
|
| +++ b/src/gpu/effects/GrDitherEffect.cpp
|
| @@ -104,7 +104,7 @@ void GLDitherEffect::emitCode(GrGLShaderBuilder* builder,
|
| builder->fsCodeAppendf("\t\tfloat r = "
|
| "fract(sin(dot(%s.xy ,vec2(12.9898,78.233))) * 43758.5453);\n",
|
| builder->fragmentPosition());
|
| - builder->fsCodeAppendf("\t\t%s = (1.0f/255.0f) * vec4(r, r, r, r) + %s;\n",
|
| + builder->fsCodeAppendf("\t\t%s = (1.0/255.0) * vec4(r, r, r, r) + %s;\n",
|
| outputColor, GrGLSLExpr4(inputColor).c_str());
|
| }
|
|
|
|
|