summaryrefslogtreecommitdiff
path: root/include/sdl.h
diff options
context:
space:
mode:
authorAbhinav Prasai <abhinav.prsai@gmail.com>2025-11-22 21:06:11 +0000
committerAbhinav Prasai <abhinav.prsai@gmail.com>2025-11-22 23:45:16 +0000
commit1b53cc099c2b218479e0aaa585e2251b6365cb08 (patch)
treeeb9003de3ed8748a2397b8bc33841c02b3600e43 /include/sdl.h
parentb0c0105d6373bc762ab535550ff186b0f0b2063d (diff)
create window + draw in context
.
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);