mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
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:
parent
7da6380dcb
commit
0c2c43e6b0
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue