summaryrefslogtreecommitdiff
path: root/shim.c
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-04-25 00:49:46 +0200
committerandromeda <andromeda@lenovo>2026-04-25 00:49:46 +0200
commit168abecfafadb57a0c677777a40083761bf8a922 (patch)
tree2437a104b6c7ba15702fcee10851cfe16b0505cb /shim.c
parent643cf49f77e64f00589bc16147be0afc95fc08cf (diff)
add rsgl, modularize
Diffstat (limited to 'shim.c')
-rw-r--r--shim.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/shim.c b/shim.c
index dcf0717..2637d64 100644
--- a/shim.c
+++ b/shim.c
@@ -1,12 +1,9 @@
#define RGFW_IMPLEMENTATION
-
#define RGFW_WAYLAND
#define RGFW_NO_X11
-
#define RGFW_OPENGL
-#define RGFW_IMPORT
-
-// same as in C3
-#define RGFW_bool u8
-
#include "RGFW.h"
+
+#define RSGL_IMPLEMENTATION
+#include "RSGL.h"
+#include "RSGL_gl.h"