Initial commit - some engine bugs stopping compiling

This commit is contained in:
Will
2026-03-29 15:52:42 +01:00
commit 3d573a200e
361 changed files with 332759 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
/*
* Full header only only GLX
*
* GLAD: $GLAD --out-path=$tmp --api="glx,gl:core" c --loader --header-only
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include -ldl -lX11
* RUN: $tmp/test
*/
#define GLAD_GLX_IMPLEMENTATION
#include <glad/glx.h>
int main(void) {
Display *display = NULL;
(void) gladLoaderLoadGLX(display, 0);
(void) gladLoaderUnloadGLX();
return 0;
}

View File

@@ -0,0 +1,17 @@
/*
* Full header only only GLX, without X11 as dependency
*
* GLAD: $GLAD --out-path=$tmp --api="glx,gl:core" c --loader --header-only
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include -ldl -DGLAD_GLX_NO_X11
* RUN: $tmp/test
*/
#define GLAD_GLX_IMPLEMENTATION
#include <glad/glx.h>
int main(void) {
Display *display = NULL;
(void) gladLoaderLoadGLX(display, 0);
(void) gladLoaderUnloadGLX();
return 0;
}