diff options
Diffstat (limited to 'src/tests/vptest3.c')
-rw-r--r-- | src/tests/vptest3.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/vptest3.c b/src/tests/vptest3.c index a0ec9edb..d9108698 100644 --- a/src/tests/vptest3.c +++ b/src/tests/vptest3.c @@ -5,7 +5,7 @@ #include <stdio.h> #include <stdlib.h> #include <math.h> -#include <glad/glad.h> +#include "glad/gl.h" #include "glut_wrap.h" static float Zrot = 0.0; @@ -116,11 +116,12 @@ 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 ); glutDisplayFunc( Display ); Init(); glutMainLoop(); + gladLoaderUnloadGL(); return 0; } |