mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Fix USE_OPENGL=0 build.
git-svn-id: https://svn.eduke32.com/eduke32@5862 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6f194b7f7c
commit
1b906d74dd
4 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue