From 12f2c9c198b25557d79f8ed38f042904f2a84c42 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sat, 17 Sep 2016 19:57:58 +0000 Subject: [PATCH] Fix mistake in r5862. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@5872 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/palette.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);