Fix USE_OPENGL=0 build.

git-svn-id: https://svn.eduke32.com/eduke32@5862 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-09-16 21:55:21 +00:00
parent 6f194b7f7c
commit 1b906d74dd
4 changed files with 6 additions and 0 deletions

View file

@ -1,4 +1,5 @@
#include "build.h" #include "build.h"
#include "baselayer.h"
#include "engine_priv.h" #include "engine_priv.h"
int16_t clipnum; int16_t clipnum;

View file

@ -1,6 +1,7 @@
#include "compat.h" #include "compat.h"
#include "build.h" #include "build.h"
#include "baselayer.h"
#include "scriptfile.h" #include "scriptfile.h"
usermaphack_t g_loadedMapHack; // used only for the MD4 part usermaphack_t g_loadedMapHack; // used only for the MD4 part

View file

@ -1,5 +1,6 @@
#include "compat.h" #include "compat.h"
#include "build.h" #include "build.h"
#include "baselayer.h"
#include "colmatch.h" #include "colmatch.h"
#include "cache1d.h" #include "cache1d.h"
#include "palette.h" #include "palette.h"
@ -263,7 +264,9 @@ uint32_t PaletteIndexFullbrights[8];
static void E_PostLoadPalette(void) static void E_PostLoadPalette(void)
{ {
#ifdef USE_OPENGL
globalpal = 0; globalpal = 0;
#endif
globalpalwritten = palookup[0]; globalpalwritten = palookup[0];
setpalookupaddress(globalpalwritten); setpalookupaddress(globalpalwritten);

View file

@ -1,6 +1,7 @@
#include "compat.h" #include "compat.h"
#include "build.h" #include "build.h"
#include "baselayer.h"
#include "engine_priv.h" #include "engine_priv.h"
#include "cache1d.h" #include "cache1d.h"
#include "lz4.h" #include "lz4.h"