add library as git submodule, wayland, window shows

This commit is contained in:
mtgmonkey
2025-12-10 21:12:56 +01:00
parent 5e2d2b89c8
commit ab69702910
7 changed files with 53 additions and 14070 deletions

16
lib/RGFW_HS.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef RGFW_HS // avoid repeated imports
#define RGFW_HS
// TODO add actual include logic
#define RGFW_IMPLEMENTATION
#define RGFW_DEBUG
#define RGFW_X11
#define RGFW_WAYLAND
#define RGFW_OPENGL
#define Time X11Time // fixes namespace clash with GHC when building with Nix
#include "RGFW/RGFW.h"
#undef Time
#endif RGFW_HS