1
0
Fork 0
forked from fte/fteqw

Fixes to minimal build.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1236 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2005-08-19 15:46:31 +00:00
parent 467f564f1a
commit 9b822244ee

View file

@ -63,7 +63,9 @@ extern cvar_t gl_savecompressedtex;
extern cvar_t gl_load24bit;
#ifdef Q3SHADERS
extern cvar_t gl_blend2d;
#endif
extern cvar_t con_ocranaleds;
qbyte *draw_chars; // 8*8 graphic characters
@ -1935,12 +1937,14 @@ void GL_Set2D (void)
qglDisable (GL_DEPTH_TEST);
qglDisable (GL_CULL_FACE);
#ifdef Q3SHADERS
if (gl_blend2d.value)
{
qglEnable (GL_BLEND);
qglDisable (GL_ALPHA_TEST);
}
else
#endif
{
qglDisable (GL_BLEND);
qglEnable (GL_ALPHA_TEST);