projects
/
xonotic
/
darkplaces.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6820b9
)
fix unintended use of alpha test on 2d graphics (hud/menu/etc)
author
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 30 May 2006 10:37:19 +0000
(10:37 +0000)
committer
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 30 May 2006 10:37:19 +0000
(10:37 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6407
d7cf8633
-e32d-0410-b094-
e92efae38249
gl_draw.c
patch
|
blob
|
history
diff --git
a/gl_draw.c
b/gl_draw.c
index 2db1c747565f6dc22392ee12845f8ea5874e2fff..2c30279ca158a4f7cf3a526fed02172a4fccc71b 100644
(file)
--- 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;
}