From 43bacdaa6eef3b4e569b787aa327533e694368bd Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 1 Mar 2008 04:54:54 +0000 Subject: [PATCH] fix two-layer quake sky in r_glsl 1 mode (was blending the alpha layer wrongly) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8165 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rmain.c b/gl_rmain.c index fae73614..c503245a 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -546,7 +546,7 @@ static const char *builtinshaderstring = " gl_FragColor += tex2;\n" "# endif\n" "# ifdef USEVERTEXTEXTUREBLEND\n" -" gl_FragColor = mix(tex2, gl_FragColor, tex2.a);\n" +" gl_FragColor = mix(gl_FragColor, tex2, tex2.a);\n" "# endif\n" "}\n" "# endif\n" -- 2.39.2