mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-16 00:08:14 +00:00
Calculate simulated vsync interval based on display refresh rate
This commit is contained in:
@@ -211,6 +211,7 @@ struct SDL_Renderer
|
||||
/* Whether we should simulate vsync */
|
||||
SDL_bool wanted_vsync;
|
||||
SDL_bool simulate_vsync;
|
||||
Uint32 simulate_vsync_interval;
|
||||
Uint32 last_present;
|
||||
|
||||
/* The logical resolution for rendering */
|
||||
|
Reference in New Issue
Block a user