summaryrefslogtreecommitdiff
path: root/include/sdl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sdl.h')
-rw-r--r--include/sdl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sdl.h b/include/sdl.h
new file mode 100644
index 0000000..e73a903
--- /dev/null
+++ b/include/sdl.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include <stdbool.h>
+
+#include <SDL2/SDL.h>
+
+SDL_Window* sdl_create_window(const char* title, int w, int h);
+bool sdl_init(void);
+void sdl_quit(void);