diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-03-09 18:40:34 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-03-09 18:40:34 -0800 |
commit | 2ff9ba56832017ddc4227cece65fa0f83ccc7064 (patch) | |
tree | e505ef5f006e4171588de05592cb4bbbf47feb59 /graphics.h | |
parent | b444e1737742e091339f1a7b083adc9fa4e06c08 (diff) | |
download | grv-2ff9ba56832017ddc4227cece65fa0f83ccc7064.tar.gz grv-2ff9ba56832017ddc4227cece65fa0f83ccc7064.tar.xz grv-2ff9ba56832017ddc4227cece65fa0f83ccc7064.zip |
Aggregate screen updates
Aggregate screen updates to one per cycle, using SDL_UpdateRects().
Hopefully this should avoid the sluggishness on MacOS X, but that
remain to be seen...
Diffstat (limited to 'graphics.h')
-rw-r--r-- | graphics.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -24,6 +24,7 @@ void lprintf(int r, int c, const char *fmt, ...); void width(int wid); void cls(void); void update_blink(void); +void update_screen(void); struct saved_screen; struct saved_screen *save_screen(void); |