Files
zoom/third-party/glad/test/c/compile/gl/header-only/002/test.c

16 lines
302 B
C

/*
* Full core GL header only
*
* GLAD: $GLAD --out-path=$tmp --api="gl:core" c --loader --header-only
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include -ldl
* RUN: $tmp/test
*/
#define GLAD_GL_IMPLEMENTATION
#include <glad/gl.h>
int main(void) {
(void) gladLoaderLoadGL();
return 0;
}