Replace a couple checks for qsetmode==200 with in3dmode(), because it's literally a macro that does that

git-svn-id: https://svn.eduke32.com/eduke32@6814 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-04-06 01:42:53 +00:00
parent 4b5b6de13c
commit 6cd5baf5c7
2 changed files with 2 additions and 2 deletions

View file

@ -244,7 +244,7 @@ void COMMON_clearbackground(int32_t numcols, int32_t numrows)
UNREFERENCED_PARAMETER(numcols);
# ifdef USE_OPENGL
if (getrendermode() >= REND_POLYMOST && qsetmode==200)
if (getrendermode() >= REND_POLYMOST && in3dmode())
{
// glPushAttrib(GL_FOG_BIT);
polymost_setFogEnabled(false);

View file

@ -142,7 +142,7 @@ void GAME_clearbackground(int32_t numcols, int32_t numrows)
UNREFERENCED_PARAMETER(numcols);
# ifdef USE_OPENGL
if (getrendermode() >= REND_POLYMOST && qsetmode==200)
if (getrendermode() >= REND_POLYMOST && in3dmode())
{
const int32_t i8n8 = OSD_SCALE(OSDCHAR_HEIGHT*numrows);
// glPushAttrib(GL_FOG_BIT);