remove two instances of duplicate USE_OPENGL preprocessor checks missed by the removal of the POLYMOST definition

git-svn-id: https://svn.eduke32.com/eduke32@2060 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2011-10-02 07:18:17 +00:00
parent 05cf720c4d
commit 885b9a46fd

View file

@ -20,14 +20,12 @@
#include "baselayer.h" #include "baselayer.h"
#include "scriptfile.h" #include "scriptfile.h"
#ifdef USE_OPENGL
#ifdef USE_OPENGL #ifdef USE_OPENGL
# include "glbuild.h" # include "glbuild.h"
# include "mdsprite.h" # include "mdsprite.h"
# ifdef POLYMER # ifdef POLYMER
# include "polymer.h" # include "polymer.h"
# endif # endif
# endif
# include "hightile.h" # include "hightile.h"
# include "polymost.h" # include "polymost.h"
# ifdef _WIN32 # ifdef _WIN32
@ -5132,9 +5130,7 @@ static void drawsprite(int32_t snum)
if (rendmode == 3) if (rendmode == 3)
{ {
polymost_drawsprite(snum); polymost_drawsprite(snum);
# ifdef USE_OPENGL
bglDisable(GL_POLYGON_OFFSET_FILL); bglDisable(GL_POLYGON_OFFSET_FILL);
# endif
return; return;
} }
# ifdef POLYMER # ifdef POLYMER