Fix float constants.

This commit is contained in:
Matteo Signer 2016-12-03 23:53:48 +01:00
parent 9991364077
commit 041014ab47

View File

@ -585,7 +585,7 @@ public class CurveRenderState {
+ "varying vec2 tex_coord;\n"
+ "void main()\n"
+ "{\n"
+ " gl_Position = vec4(vec2(-1.f,1.f)+inv_screensize*in_position.xy,in_position.zw);\n"
+ " gl_Position = vec4(vec2(-1.0,1.0)+inv_screensize*in_position.xy,in_position.zw);\n"
+ " tex_coord = in_tex_coord;\n"
+ "}");
GL20.glCompileShader(vtxShdr);