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 =
"float4 main(
"
" float4 v_color : COLOR,
"
" float2 v_tex0 : TEXCOORD0,
"
" float v_fog : FOG,
"
" uniform float2 u_alpharef,
"
" uniform sampler2D tex0
"
") {
"
" 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;
"
"}
"
;
"float4 main(\n"
" float4 v_color : COLOR,\n"
" float2 v_tex0 : TEXCOORD0,\n"
" float v_fog : FOG,\n"
" uniform float2 u_alpharef,\n"
" uniform sampler2D tex0\n"
") {\n"
" float4 color = v_color*tex2D(tex0, float2(v_tex0.x, 1.0-v_tex0.y));\n"
" color.rgb = lerp(u_fogColor.rgb, color.rgb, v_fog);\n"
" DoAlphaTest(color.a, u_alphaRef);\n"
" \n"
" return color;\n"
"}\n";