removed threaded rendering, made vsync an option
This commit is contained in:
parent
416e32bc53
commit
9e795ff1bc
3 changed files with 29 additions and 78 deletions
|
|
@ -72,6 +72,9 @@ void GFX_startFrame(void);
|
|||
void GFX_flip(SDL_Surface* screen);
|
||||
void GFX_quit(void);
|
||||
|
||||
int GFX_getVsync(void);
|
||||
void GFX_setVsync(int vsync);
|
||||
|
||||
SDL_Surface* GFX_getBufferCopy(void); // must be freed by caller
|
||||
int GFX_truncateDisplayName(const char* in_name, char* out_name, int max_width); // returns final width (including pill padding)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue