mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 11:11:04 +00:00
Fix console background disappearing intermittently
git-svn-id: https://svn.eduke32.com/eduke32@6785 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ab07afad76
commit
c1d7d1bfe0
2 changed files with 5 additions and 0 deletions
|
@ -248,6 +248,7 @@ void COMMON_clearbackground(int32_t numcols, int32_t numrows)
|
|||
{
|
||||
// glPushAttrib(GL_FOG_BIT);
|
||||
polymost_setFogEnabled(false);
|
||||
polymost_useColorOnly(true);
|
||||
|
||||
setpolymost2dview();
|
||||
glColor4f(0.f, 0.f, 0.f, 0.67f);
|
||||
|
@ -257,6 +258,7 @@ void COMMON_clearbackground(int32_t numcols, int32_t numrows)
|
|||
glRecti(0, 8*numrows+4, xdim, 8*numrows+8);
|
||||
|
||||
// glPopAttrib();
|
||||
polymost_useColorOnly(false);
|
||||
polymost_setFogEnabled(true);
|
||||
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue