Commit eb1a8353 authored by NY00123's avatar NY00123 Committed by Richard Gobeille

source/build/*/palette.*: Remove LUNATIC-specific definition

of paletteGetBlendTable, but keep using the non-LUNATIC macro
instead of blendtable[blend]
parent dd26d46a
......@@ -30,11 +30,7 @@ extern "C" {
extern uint8_t curbasepal;
#ifdef LUNATIC
extern const char *(paletteGetBlendTable) (int32_t blend);
#else
#define paletteGetBlendTable(blend) (blendtable[blend])
#endif
extern uint8_t PaletteIndexFullbrights[32];
#define IsPaletteIndexFullbright(col) (PaletteIndexFullbrights[(col)>>3] & (1u<<((col)&7)))
......
......@@ -476,13 +476,6 @@ void paletteFreeBlendTable(int32_t const blend)
DO_FREE_AND_NULL(blendtable[blend]);
}
#ifdef LUNATIC
const char *(paletteGetBlendTable) (int32_t blend)
{
return blendtable[blend];
}
#endif
#ifdef USE_OPENGL
glblend_t const nullglblend =
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment