diff --git a/polymer/eduke32/build/src/palette.c b/polymer/eduke32/build/src/palette.c index f3e0efa40..121de7365 100644 --- a/polymer/eduke32/build/src/palette.c +++ b/polymer/eduke32/build/src/palette.c @@ -1,5 +1,6 @@ #include "compat.h" #include "build.h" +#include "engine_priv.h" #include "baselayer.h" #include "colmatch.h" #include "cache1d.h" @@ -264,9 +265,8 @@ uint32_t PaletteIndexFullbrights[8]; static void E_PostLoadPalette(void) { -#ifdef USE_OPENGL globalpal = 0; -#endif + globalpalwritten = palookup[0]; setpalookupaddress(globalpalwritten);