Improve error handling on display initialisation

This commit is contained in:
Simon Robertshaw
2011-05-24 14:54:14 +01:00
parent 128e8c1ff8
commit eafcdf8ec9
5 changed files with 30 additions and 10 deletions

View File

@@ -206,5 +206,5 @@ void sdl_seticon(void);
void play_sound(char *file);
void start_grav_async(void);
void stop_grav_async(void);
void set_scale(int scale, int kiosk);
int set_scale(int scale, int kiosk);
#endif

View File

@@ -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 ();