Fix NOHW compilation warning

This commit is contained in:
indev committed 2024-03-23 20:24:41 +03:00
1 parent 2348e3b73e
commit ba1de8fde0
1 file changed
+3 -1
+3 -1
View File
@@ -1434,7 +1434,9 @@ static void P_LoadRawSideDefs2(void *data)
case 606: //SoM: 4/4/2000: Just colormap transfer
// SoM: R_CreateColormap will only create a colormap in software mode...
// Perhaps we should just call it instead of doing the calculations here.
if (rendermode == render_soft || rendermode == render_none)
#ifdef HWRENDER
if (rendermode != render_opengl)
#endif
{
if (msd->toptexture[0] == '#' || msd->bottomtexture[0] == '#')
{