diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-05-24 13:54:14 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-05-24 13:54:14 (GMT) |
| commit | eafcdf8ec94b058707f1a6b8a2b9b5076c6275ca (patch) | |
| tree | e255f2ebfc0d1935209c0de52271e6d5da79df9d /includes/graphics.h | |
| parent | 128e8c1ff8a27ae96b414bed4cc8f5a294063136 (diff) | |
| download | powder-eafcdf8ec94b058707f1a6b8a2b9b5076c6275ca.zip powder-eafcdf8ec94b058707f1a6b8a2b9b5076c6275ca.tar.gz | |
Improve error handling on display initialisation
Diffstat (limited to 'includes/graphics.h')
| -rw-r--r-- | includes/graphics.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/graphics.h b/includes/graphics.h index 6d9a273..90d5d1b 100644 --- a/includes/graphics.h +++ b/includes/graphics.h @@ -140,7 +140,7 @@ int render_thumb(void *thumb, int size, int bzip2, pixel *vid_buf, int px, int p void render_cursor(pixel *vid, int x, int y, int t, int rx, int ry); -void sdl_open(void); +int sdl_open(void); #ifdef OpenGL void Enable2D (); |
