Fix for incorrect identation.

This commit is contained in:
Rinnegatamante
2020-09-27 11:03:29 +02:00
parent f0c83ab3ca
commit 783e22d7ed
+13 -28
View File
@@ -1,29 +1,14 @@
const char *simple_frag_src = const char *simple_frag_src =
"float4 main( "float4 main(\n"
" " float4 v_color : COLOR,\n"
" float4 v_color : COLOR, " float2 v_tex0 : TEXCOORD0,\n"
" " float v_fog : FOG,\n"
" float2 v_tex0 : TEXCOORD0, " uniform float2 u_alpharef,\n"
" " uniform sampler2D tex0\n"
" float v_fog : FOG, ") {\n"
" " float4 color = v_color*tex2D(tex0, float2(v_tex0.x, 1.0-v_tex0.y));\n"
" uniform float2 u_alpharef, " color.rgb = lerp(u_fogColor.rgb, color.rgb, v_fog);\n"
" " DoAlphaTest(color.a, u_alphaRef);\n"
" uniform sampler2D tex0 " \n"
" " return color;\n"
") { "}\n";
"
" float4 color = v_color*tex2D(tex0, float2(v_tex0.x, 1.0-v_tex0.y));
"
" color.rgb = lerp(u_fogColor.rgb, color.rgb, v_fog);
"
" DoAlphaTest(color.a, u_alphaRef);
"
"
"
" return color;
"
"}
"
;