Skip to content

Commit

Permalink
vsync on for opengl (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
briaguya-ai authored May 24, 2023
1 parent d49cc0b commit c946c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphic/Fast3D/gfx_sdl2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c946c2c

Please sign in to comment.