Implemented VSync timer using SDL

This commit is contained in:
n00b
2024-12-20 17:04:40 -05:00
parent 6f93be7a23
commit 8b8be85dea
4 changed files with 22 additions and 2 deletions

View File

@@ -255,6 +255,9 @@ bool rc_mouse_zone_active = false;
double rc_window_zone_scale_x = 1;
double rc_window_zone_scale_y = 1;
SDL_Rect rc_mouse_zone;
bool rc_window_vsync = false;
int rc_vsync_refresh_rate = 0;
Uint32 rc_vsync_timer = 0;
struct rc_scene_properties_obj
{