Commit 95835a32 authored by Vinson Lee's avatar Vinson Lee

glsl-derivs: s/40/40.0/

Fixes failure with Apple GLSL compiler.
parent 057d16e7
......@@ -82,7 +82,7 @@ static const char *fragShaderText2 =
"varying vec2 texCoords;\n"
"void main()\n"
"{ \n"
" vec2 num = texCoords * 40;\n"
" vec2 num = texCoords * 40.0;\n"
" gl_FragColor = vec4(dFdx(num.x), dFdy(num.y),0.0,1.0);\n"
"} \n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment