Skip to content
Snippets Groups Projects
Commit 967cff12 authored by Sal's avatar Sal
Browse files

Merge branch 'ogl-respawn-fix' into 'master'

Fix unnecessary texture reloads on respawn in opengl

See merge request KartKrew/Kart-Public!251
parents 8e4171e2 dbf74484
No related branches found
No related tags found
No related merge requests found
......@@ -232,7 +232,7 @@ void ST_doPaletteStuff(void)
{
st_palette = palette;
if (rendermode != render_none)
if (rendermode == render_soft)
{
//V_SetPaletteLump(GetPalette()); // Reset the palette -- is this needed?
if (!splitscreen)
......@@ -392,7 +392,10 @@ static inline void ST_Stop(void)
if (st_stopped)
return;
V_SetPalette(0);
#ifdef HWRENDER
if (rendermode != render_opengl)
#endif
V_SetPalette(0);
st_stopped = true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment