diff --git a/src/r_data.c b/src/r_data.c index 4010aae0b..4a8ab0a45 100644 --- a/src/r_data.c +++ b/src/r_data.c @@ -1325,7 +1325,7 @@ INT32 R_CreateColormap(char *p1, char *p2, char *p3) extra_colormaps[mapnum].fadeend = (UINT16)fadeend; extra_colormaps[mapnum].fog = fog; - if (rendermode == render_soft || rendermode == render_opengl) + if (rendermode != render_none) { double r, g, b, cbrightness; int p; diff --git a/src/st_stuff.c b/src/st_stuff.c index ac7eb9c41..e444d2184 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -245,7 +245,7 @@ void ST_doPaletteStuff(void) palette = 0; #ifdef HWRENDER - if ((rendermode == render_opengl && !cv_grpaletteshader.value) || (rendermode == render_opengl && HWR_ShouldUsePaletteRendering() && !cv_grflashpal.value)) + if ((rendermode == render_opengl && !HWR_ShouldUsePaletteRendering()) || (rendermode == render_opengl && HWR_ShouldUsePaletteRendering() && !cv_grflashpal.value)) palette = 0; // No flashpals here in OpenGL #endif