palette.cpp: don't call uploadbasepalette() if USE_OPENGL is not defined

git-svn-id: https://svn.eduke32.com/eduke32@6915 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
pogokeen 2018-06-12 02:13:32 +00:00
parent 725d556bc4
commit 054f25d7ef

View file

@ -655,7 +655,9 @@ void paletteSetColorTable(int32_t id, uint8_t const * const table)
Bmemcpy(basepaltable[id], table, 768);
#ifdef USE_OPENGL
uploadbasepalette(id);
#endif
}
void paletteFreeColorTable(int32_t const id)