Initial commit - some engine bugs stopping compiling
This commit is contained in:
18
third-party/glad/test/c/compile/gl/debug/001/test.c
vendored
Normal file
18
third-party/glad/test/c/compile/gl/debug/001/test.c
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Full compatibility debug GL
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="gl:compatibility" c --loader --debug
|
||||
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include $tmp/src/gl.c -ldl
|
||||
* RUN: $tmp/test
|
||||
*/
|
||||
|
||||
#include <glad/gl.h>
|
||||
#include <stddef.h>
|
||||
|
||||
int main(void) {
|
||||
gladSetGLPreCallback(NULL);
|
||||
gladSetGLPostCallback(NULL);
|
||||
gladInstallGLDebug();
|
||||
gladUninstallGLDebug();
|
||||
return 0;
|
||||
}
|
||||
13
third-party/glad/test/c/compile/gl/debug/002/test.c
vendored
Normal file
13
third-party/glad/test/c/compile/gl/debug/002/test.c
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Full core debug GL
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="gl:core" c --loader --debug
|
||||
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include $tmp/src/gl.c -ldl
|
||||
* RUN: $tmp/test
|
||||
*/
|
||||
|
||||
#include <glad/gl.h>
|
||||
|
||||
int main(void) {
|
||||
return 0;
|
||||
}
|
||||
13
third-party/glad/test/c/compile/gl/debug/003/test.c
vendored
Normal file
13
third-party/glad/test/c/compile/gl/debug/003/test.c
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* No extensions compatibility debug GL
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="gl:compatibility" --extensions="" c --loader --debug
|
||||
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include $tmp/src/gl.c -ldl
|
||||
* RUN: $tmp/test
|
||||
*/
|
||||
|
||||
#include <glad/gl.h>
|
||||
|
||||
int main(void) {
|
||||
return 0;
|
||||
}
|
||||
13
third-party/glad/test/c/compile/gl/debug/004/test.c
vendored
Normal file
13
third-party/glad/test/c/compile/gl/debug/004/test.c
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* No extensions core debug GL
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="gl:core" --extensions="" c --loader --debug
|
||||
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include $tmp/src/gl.c -ldl
|
||||
* RUN: $tmp/test
|
||||
*/
|
||||
|
||||
#include <glad/gl.h>
|
||||
|
||||
int main(void) {
|
||||
return 0;
|
||||
}
|
||||
13
third-party/glad/test/c/compile/gl/debug/005/test.c
vendored
Normal file
13
third-party/glad/test/c/compile/gl/debug/005/test.c
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Debug GL 2.1 All extensions
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="gl:compatibility=2.1" c --loader --debug
|
||||
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include $tmp/src/gl.c -ldl
|
||||
* RUN: $tmp/test
|
||||
*/
|
||||
|
||||
#include <glad/gl.h>
|
||||
|
||||
int main(void) {
|
||||
return 0;
|
||||
}
|
||||
13
third-party/glad/test/c/compile/gl/debug/006/test.c
vendored
Normal file
13
third-party/glad/test/c/compile/gl/debug/006/test.c
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Debug GL 2.1 No extensions
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="gl:compatibility=2.1" --extensions="" c --loader --debug
|
||||
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include $tmp/src/gl.c -ldl
|
||||
* RUN: $tmp/test
|
||||
*/
|
||||
|
||||
#include <glad/gl.h>
|
||||
|
||||
int main(void) {
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user