diff options
| author | mtgmonkey <mtgmonkey@nixos> | 2025-12-10 21:12:56 +0100 |
|---|---|---|
| committer | mtgmonkey <mtgmonkey@nixos> | 2025-12-10 21:12:56 +0100 |
| commit | ab69702910741af752ff7ee5820bb85b1f3ddd5c (patch) | |
| tree | 3f6d9b7321f859ba30095000ea2c5f74e2be8ff4 /lib/RGFW_HS.h | |
| parent | 5e2d2b89c855cc0713d6f64788eaca530f21fc81 (diff) | |
add library as git submodule, wayland, window shows
Diffstat (limited to 'lib/RGFW_HS.h')
| -rw-r--r-- | lib/RGFW_HS.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/RGFW_HS.h b/lib/RGFW_HS.h new file mode 100644 index 0000000..a27a3a8 --- /dev/null +++ b/lib/RGFW_HS.h @@ -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 |
