diff --git a/source/build/src/palette.cpp b/source/build/src/palette.cpp index 7b87d3323..2df48179f 100644 --- a/source/build/src/palette.cpp +++ b/source/build/src/palette.cpp @@ -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)