From: havoc Date: Sat, 20 Jul 2002 01:02:11 +0000 (+0000) Subject: fix view blends so they are alpha, not additive X-Git-Tag: RELEASE_0_2_0_RC1~433 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cddb6e423ca52ee78671ce68527b75ef880425f4;p=xonotic%2Fdarkplaces.git fix view blends so they are alpha, not additive git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2061 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index c6e6ce2e..9b11c912 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -515,7 +515,7 @@ static void R_BlendView(void) memset(&m, 0, sizeof(m)); m.transparent = false; m.blendfunc1 = GL_SRC_ALPHA; - m.blendfunc2 = GL_ONE; + m.blendfunc2 = GL_ONE_MINUS_SRC_ALPHA; m.depthdisable = true; // magic m.numtriangles = 1; m.numverts = 3;