aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c_src/esdl2.h1
-rw-r--r--c_src/sdl.c3
-rw-r--r--src/sdl.erl2
3 files changed, 2 insertions, 4 deletions
diff --git a/c_src/esdl2.h b/c_src/esdl2.h
index 75055d4..6e69cff 100644
--- a/c_src/esdl2.h
+++ b/c_src/esdl2.h
@@ -75,7 +75,6 @@
A(mouse_wheel) \
A(moved) \
A(no_battery) \
- A(no_parachute) \
A(none) \
A(num) \
A(on_battery) \
diff --git a/c_src/sdl.c b/c_src/sdl.c
index 02e8150..ba5d021 100644
--- a/c_src/sdl.c
+++ b/c_src/sdl.c
@@ -22,8 +22,7 @@
F(haptic, SDL_INIT_HAPTIC) \
F(game_controller, SDL_INIT_GAMECONTROLLER) \
F(events, SDL_INIT_EVENTS) \
- F(everything, SDL_INIT_EVERYTHING) \
- F(no_parachute, SDL_INIT_NOPARACHUTE)
+ F(everything, SDL_INIT_EVERYTHING)
NIF_LIST_TO_FLAGS_FUNCTION(list_to_init_flags, Uint32, INIT_FLAGS)
diff --git a/src/sdl.erl b/src/sdl.erl
index b89de68..be0ffeb 100644
--- a/src/sdl.erl
+++ b/src/sdl.erl
@@ -26,7 +26,7 @@
-export_type([error/0]).
-type subsystem() :: timer | audio | video | joystick | haptic
- | game_controller | events | everything | no_parachute.
+ | game_controller | events | everything.
-spec start() -> ok | error().
start() ->