Made layers.shader compatibility shader compatible. CURA-3273

This commit is contained in:
Jack Ha 2017-02-07 14:28:22 +01:00
parent ed1fea2d3e
commit 4057996e23

View file

@ -26,10 +26,8 @@ vertex =
} }
fragment = fragment =
in lowp vec4 v_color; varying lowp vec4 v_color;
in float v_line_type; varying float v_line_type;
out vec4 frag_color;
uniform int u_show_travel_moves; uniform int u_show_travel_moves;
uniform int u_show_support; uniform int u_show_support;
@ -68,7 +66,7 @@ fragment =
discard; discard;
} }
frag_color = v_color; gl_FragColor = u_color;
} }
vertex41core = vertex41core =