aboutsummaryrefslogtreecommitdiff
path: root/src/sdl/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl/graphics.c')
-rwxr-xr-xsrc/sdl/graphics.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/sdl/graphics.c b/src/sdl/graphics.c
index 937fea6..166eb32 100755
--- a/src/sdl/graphics.c
+++ b/src/sdl/graphics.c
@@ -24,12 +24,6 @@ SDL_Color PHL_NewRGB(uint8_t r, uint8_t g, uint8_t b)
void PHL_GraphicsInit()
{
- if ( SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK ) < 0) {
- fprintf(stderr, "Error");
- SDL_Delay(5000);
- exit(EXIT_FAILURE);
- }
-
SDL_ShowCursor(SDL_DISABLE);
Input_InitJoystick();