only wait for vsync if under frame budget

This commit is contained in:
Shaun Inman 2023-01-13 20:12:47 -05:00
parent 1143e46d20
commit d8c96b82fa
4 changed files with 20 additions and 11 deletions

View file

@ -28,6 +28,7 @@ void LOG_note(int level, const char* fmt, ...);
SDL_Surface* GFX_init(void);
void GFX_clear(SDL_Surface* screen);
void GFX_clearAll(void);
void GFX_startFrame(void);
void GFX_flip(SDL_Surface* screen);
void GFX_quit(void);