Commit 685f3e79 authored by Mathias Goldau's avatar Mathias Goldau
Browse files

[FIX] Shader work now under Mac OS X too

parent 7d24a4b2
......@@ -18,7 +18,7 @@ void main()
col = clamp(col, 0.0, 1.0);
col.a = opacity * 0.01;
col.a = float( opacity ) * 0.01; // MacOS X has old shader spec, no implicit conversion to float takes place
gl_FragColor = col;
}
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