Fix NOWH compilation (only check if renderer supports palette if HWRENDER is defined, otherwise run subpalette code unconditionally)
This commit is contained in:
1 parent
9747eab9f3
commit
2fbc1140c4
1 file changed
+2
@@ -550,7 +550,9 @@ void V_SetPalette(INT32 palettenum)
|
||||
if (!pLocalPalette)
|
||||
V_ReloadPalette();
|
||||
|
||||
#ifdef HWRENDER
|
||||
if (rendermode == render_soft || (rendermode == render_opengl && HWR_ShouldUsePaletteRendering())) // opengl without paletterendering hates subpalettes
|
||||
#endif
|
||||
{
|
||||
if (palettenum == 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user