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