Files
zoom/third-party/glad/test/c/compile/egl/header-only/001/test.c

18 lines
375 B
C

/*
* 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;
}