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,20 @@
/*
* GL_VERTEX_ARRAY was removed in gl:core=3.2 and later reintroduced in gl=4.3.
* Test checks if the symbol exists in the generated code.
* Related Issues: #137, #139
*
* GLAD: $GLAD --out-path=$tmp --api="gl:core=4.3" --extensions="" c
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include $tmp/src/gl.c -ldl
* RUN: $tmp/test
*/
#include <glad/gl.h>
int main(void) {
if (GL_VERTEX_ARRAY == 0x8074) {
return 0;
}
return 1;
}