Initial commit - some engine bugs stopping compiling
This commit is contained in:
16
third-party/glad/test/c/compile/gl/header-only+mx/005/test.c
vendored
Normal file
16
third-party/glad/test/c/compile/gl/header-only+mx/005/test.c
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* MX header only GL 2.1 All extensions
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="gl:compatibility=2.1" c --loader --mx --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) {
|
||||
GladGLContext gl = {0};
|
||||
(void) gladLoaderLoadGLContext(&gl);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user