Skip to content

Fix unnecessary texture reloads on respawn in opengl

Hannu Hanhi requested to merge bird/Kart-Public:ogl-respawn-fix into master

This patch fixes the laggy texture reloading bug that happens on respawn in OpenGL mode. Two V_SetPalette calls are removed from OpenGL mode, they trigger the bug and appear unnecessary for the game, since OpenGL does not use flash palettes.

This issue can be seen in maps that use larger textures, including Ricco Harbor (Bowler's Pack) and Lubrication Lagoon (Ivo Industries) and many others. Enabling mipmapping (texture filtering option Nearest-Mipmap) will amplify the lag even more.

Patched 32-bit .exe files for vanilla kart and Moe Mansion are attached for testing if needed.

srb2kart-ogl-respawn-fix.exe

srb2kart-moe-ogl-respawn-fix.exe

Merge request reports