mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
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:
parent
725d556bc4
commit
054f25d7ef
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue