mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 05:41:02 +00:00
Merge branch 'ogl-respawn-fix' into 'master'
Fix unnecessary texture reloads on respawn in opengl See merge request KartKrew/Kart-Public!251
This commit is contained in:
commit
967cff1281
1 changed files with 5 additions and 2 deletions
|
@ -232,7 +232,7 @@ void ST_doPaletteStuff(void)
|
||||||
{
|
{
|
||||||
st_palette = palette;
|
st_palette = palette;
|
||||||
|
|
||||||
if (rendermode != render_none)
|
if (rendermode == render_soft)
|
||||||
{
|
{
|
||||||
//V_SetPaletteLump(GetPalette()); // Reset the palette -- is this needed?
|
//V_SetPaletteLump(GetPalette()); // Reset the palette -- is this needed?
|
||||||
if (!splitscreen)
|
if (!splitscreen)
|
||||||
|
@ -392,6 +392,9 @@ static inline void ST_Stop(void)
|
||||||
if (st_stopped)
|
if (st_stopped)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
#ifdef HWRENDER
|
||||||
|
if (rendermode != render_opengl)
|
||||||
|
#endif
|
||||||
V_SetPalette(0);
|
V_SetPalette(0);
|
||||||
|
|
||||||
st_stopped = true;
|
st_stopped = true;
|
||||||
|
|
Loading…
Reference in a new issue