18 lines
349 B
C
18 lines
349 B
C
/*
|
|
* 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;
|
|
}
|