mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 10:19:47 -04:00
84d718f981
The session reset clears g_bezel_path, which only stops the next load. gl_renderer_shutdown() deleted the context but kept s_bezel_tex, and present_bezel() draws whenever that name is nonzero, so a lobby rematch would bind the previous session's texture name in its new context. Shutdown now drops it through gl_renderer_set_bezel(NULL, 0, 0) while the context is still current. Only a soft return to the lobby and process exit shut the renderer down. The source guard checks the shutdown call and set_bezel's NULL path. MOD_PACKAGES.md says what each half of the bezel reset does and gives the exact reset values for the adaptive cap and the native pacing rate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>