mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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:
parent
467f564f1a
commit
9b822244ee
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue