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

16 lines
320 B
C

/*
* Full compatibility GL header only
*
* GLAD: $GLAD --out-path=$tmp --api="gl:compatibility" 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;
}