Commit 71a3babc authored by Grégoire Duvauchelle's avatar Grégoire Duvauchelle Committed by LAMBERT Jean-charles
Browse files

Fix shader 120 output name

parent 10140b28
......@@ -6,7 +6,7 @@ uniform vec3 selected_color;
void main() {
if(second_pass)
frag_color = vec4(selected_color, 1.0f);
gl_FragColor = vec4(selected_color, 1.0f);
else
frag_color = vec4(color, 1.0f);
gl_FragColor = vec4(color, 1.0f);
}
\ No newline at end of file
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