Initial commit - some engine bugs stopping compiling
This commit is contained in:
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;
|
||||
}
|
||||
Reference in New Issue
Block a user