Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
1. Fixes for stuttering and reverting some GL changes that caused it
2. Added back a callback to SDL2 but implemented error handling for fluidsynth to prevent crashes
3. Fixed the 'moving too fast skips linedefs' bug, by adding a MS delay upon activation (100ms)
  • Loading branch information
atsb authored Jun 13, 2023
1 parent 7e48e20 commit ced8100
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 117 deletions.
2 changes: 1 addition & 1 deletion src/engine/gl_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ static void SetVsyncActive(void)
{
if (v_vsync.value > 0)
{
SDL_GL_SetSwapInterval(-1);
SDL_GL_SetSwapInterval(1);
}
#if defined(__APPLE__)
if (v_vsync.value > 0)
Expand Down
Loading

0 comments on commit ced8100

Please sign in to comment.