From c946c2cfbd1cf32c2f7d214d43224dd54d8c27df Mon Sep 17 00:00:00 2001 From: briaguya <70942617+briaguya-ai@users.noreply.github.com> Date: Wed, 24 May 2023 18:17:08 -0400 Subject: [PATCH] vsync on for opengl (#289) --- src/graphic/Fast3D/gfx_sdl2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphic/Fast3D/gfx_sdl2.cpp b/src/graphic/Fast3D/gfx_sdl2.cpp index 6b7b439dc..d48dc2c6e 100644 --- a/src/graphic/Fast3D/gfx_sdl2.cpp +++ b/src/graphic/Fast3D/gfx_sdl2.cpp @@ -50,7 +50,7 @@ static SDL_Window* wnd; static SDL_GLContext ctx; static SDL_Renderer* renderer; static int sdl_to_lus_table[512]; -static bool vsync_enabled = false; +static bool vsync_enabled = true; // OTRTODO: These are redundant. Info can be queried from SDL. static int window_width = DESIRED_SCREEN_WIDTH; static int window_height = DESIRED_SCREEN_HEIGHT;