From: havoc Date: Tue, 30 May 2006 10:37:19 +0000 (+0000) Subject: fix unintended use of alpha test on 2d graphics (hud/menu/etc) X-Git-Tag: xonotic-v0.1.0preview~3963 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e335de5ed205f42e33acbc794b02fa0939ba8e42;p=xonotic%2Fdarkplaces.git fix unintended use of alpha test on 2d graphics (hud/menu/etc) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6407 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_draw.c b/gl_draw.c index 2db1c747..2c30279c 100644 --- a/gl_draw.c +++ b/gl_draw.c @@ -504,6 +504,8 @@ void DrawQ_Begin(void) GL_DepthMask(true); GL_DepthTest(false); GL_Color(1,1,1,1); + GL_AlphaTest(false); + GL_BlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); r_refdef.draw2dstage = true; }