diff options
Diffstat (limited to 'src/tests/arbvpwarpmesh.c')
-rw-r--r-- | src/tests/arbvpwarpmesh.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/arbvpwarpmesh.c b/src/tests/arbvpwarpmesh.c index 2bf2a0e6..70baff26 100644 --- a/src/tests/arbvpwarpmesh.c +++ b/src/tests/arbvpwarpmesh.c @@ -7,7 +7,7 @@ #include <stdio.h> #include <stdlib.h> #include <math.h> -#include <glad/glad.h> +#include "glad/gl.h" #include "glut_wrap.h" static float Xrot = -60.0, Yrot = 0.0, Zrot = 0.0; @@ -234,7 +234,7 @@ int main( int argc, char *argv[] ) glutInitWindowSize( 250, 250 ); glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH ); glutCreateWindow(argv[0]); - gladLoadGL(); + gladLoaderLoadGL(); glutReshapeFunc( Reshape ); glutKeyboardFunc( Key ); glutSpecialFunc( SpecialKey ); @@ -243,5 +243,6 @@ int main( int argc, char *argv[] ) glutIdleFunc(Idle); Init(); glutMainLoop(); + gladLoaderUnloadGL(); return 0; } |