]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/keep_spec_constants_in_module.glsl
An assortment of minor fixes
[libs/gl.git] / tests / glsl / keep_spec_constants_in_module.glsl
index 7b9f98c8f690277e889f2a2e2a4dab50c483d807..2a6b446e1ffc85be78c249db365cb2831c8c88b7 100644 (file)
@@ -57,10 +57,10 @@ layout(location=1) in vec2 _vs_out_texcoord;
 layout(location=0) in vec4 _vs_out_color;
 void main()
 {
-  frag_color = vec4(1.0);
-  if(use_texture)
-    frag_color *= texture(tex, _vs_out_texcoord);
-  if(use_vertex_color)
-    frag_color *= _vs_out_color;
+       frag_color = vec4(1.0);
+       if(use_texture)
+               frag_color *= texture(tex, _vs_out_texcoord);
+       if(use_vertex_color)
+               frag_color *= _vs_out_color;
 }
 */