aboutsummaryrefslogtreecommitdiffstats
path: root/graphics.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-03-09 18:40:34 -0800
committerH. Peter Anvin <hpa@zytor.com>2012-03-09 18:40:34 -0800
commit2ff9ba56832017ddc4227cece65fa0f83ccc7064 (patch)
treee505ef5f006e4171588de05592cb4bbbf47feb59 /graphics.h
parentb444e1737742e091339f1a7b083adc9fa4e06c08 (diff)
downloadgrv-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics.h b/graphics.h
index f993186..16c7f5a 100644
--- a/graphics.h
+++ b/graphics.h
@@ -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);