mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 19:29:52 +02:00
Improve error handling on display initialisation
This commit is contained in:
@@ -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
|
||||
|
@@ -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 ();
|
||||
|
Reference in New Issue
Block a user