Add #version 120 to make shaders work on Windows

USL-32
This commit is contained in:
Lipu Fei 2017-06-16 10:59:45 +02:00
parent 3240338f6d
commit adfe6ce63a
6 changed files with 12 additions and 0 deletions

View file

@ -1,5 +1,6 @@
[shaders]
vertex =
#version 120
uniform highp mat4 u_modelViewProjectionMatrix;
uniform lowp float u_active_extruder;
uniform lowp float u_shade_factor;
@ -28,6 +29,7 @@ vertex =
}
fragment =
#version 120
varying lowp vec4 v_color;
varying float v_line_type;