Initial commit - some engine bugs stopping compiling
This commit is contained in:
14
third-party/glad/test/c/compile/egl/alias/001/test.c
vendored
Normal file
14
third-party/glad/test/c/compile/egl/alias/001/test.c
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* Issue #362, aliasing func is not called.
|
||||
* Note this does not actually verify the functions get properly initialized only that it compiles
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="egl=" c --alias
|
||||
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include $tmp/src/egl.c -ldl
|
||||
* RUN: $tmp/test
|
||||
*/
|
||||
|
||||
#include <glad/egl.h>
|
||||
|
||||
int main(void) {
|
||||
return 0;
|
||||
}
|
||||
17
third-party/glad/test/c/compile/egl/default/001/test.c
vendored
Normal file
17
third-party/glad/test/c/compile/egl/default/001/test.c
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Full EGL
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="egl=" c --loader
|
||||
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include $tmp/src/egl.c -ldl
|
||||
* RUN: $tmp/test
|
||||
*/
|
||||
|
||||
#include <glad/egl.h>
|
||||
#include <stddef.h>
|
||||
|
||||
int main(void) {
|
||||
EGLDisplay display = NULL;
|
||||
(void) gladLoaderLoadEGL(display);
|
||||
(void) gladLoaderUnloadEGL();
|
||||
return 0;
|
||||
}
|
||||
17
third-party/glad/test/c/compile/egl/default/002/test.c
vendored
Normal file
17
third-party/glad/test/c/compile/egl/default/002/test.c
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* EGL 1.0
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="egl=1.0" c --loader
|
||||
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include $tmp/src/egl.c -ldl
|
||||
* RUN: $tmp/test
|
||||
*/
|
||||
|
||||
#include <glad/egl.h>
|
||||
#include <stddef.h>
|
||||
|
||||
int main(void) {
|
||||
EGLDisplay display = NULL;
|
||||
(void) gladLoaderLoadEGL(display);
|
||||
(void) gladLoaderUnloadEGL();
|
||||
return 0;
|
||||
}
|
||||
17
third-party/glad/test/c/compile/egl/header-only/001/test.c
vendored
Normal file
17
third-party/glad/test/c/compile/egl/header-only/001/test.c
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Full header only only EGL
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="egl=" c --loader --header-only
|
||||
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include -ldl
|
||||
* RUN: $tmp/test
|
||||
*/
|
||||
|
||||
#define GLAD_EGL_IMPLEMENTATION
|
||||
#include <glad/egl.h>
|
||||
|
||||
int main(void) {
|
||||
EGLDisplay display = NULL;
|
||||
(void) gladLoaderLoadEGL(display);
|
||||
(void) gladLoaderUnloadEGL();
|
||||
return 0;
|
||||
}
|
||||
13
third-party/glad/test/c/compile/egl/on-demand/001/test.c
vendored
Normal file
13
third-party/glad/test/c/compile/egl/on-demand/001/test.c
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Full on demand EGL
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="egl" c --on-demand
|
||||
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include $tmp/src/egl.c -ldl
|
||||
* RUN: $tmp/test
|
||||
*/
|
||||
|
||||
#include <glad/egl.h>
|
||||
|
||||
int main(void) {
|
||||
return 0;
|
||||
}
|
||||
13
third-party/glad/test/c/compile/egl/on-demand/002/test.c
vendored
Normal file
13
third-party/glad/test/c/compile/egl/on-demand/002/test.c
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Full on demand EGL with loader
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="egl" c --on-demand --loader
|
||||
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include $tmp/src/egl.c -ldl
|
||||
* RUN: $tmp/test
|
||||
*/
|
||||
|
||||
#include <glad/egl.h>
|
||||
|
||||
int main(void) {
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user