In COMMON_clearbackground() (for the OSD), disable fog.

git-svn-id: https://svn.eduke32.com/eduke32@4408 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2014-03-30 20:35:57 +00:00
parent 7da6380dcb
commit 0c2c43e6b0

View file

@ -637,12 +637,18 @@ void COMMON_clearbackground(int32_t numcols, int32_t numrows)
# ifdef USE_OPENGL
if (getrendermode() >= REND_POLYMOST && qsetmode==200)
{
bglPushAttrib(GL_FOG_BIT);
bglDisable(GL_FOG);
setpolymost2dview();
bglColor4f(0,0,0,0.67f);
bglEnable(GL_BLEND);
bglRectd(0,0, xdim,8*numrows+8);
bglColor4f(0,0,0,1);
bglRectd(0,8*numrows+4, xdim,8*numrows+8);
bglPopAttrib();
return;
}
# endif