diff options
Diffstat (limited to 'src/tests/texcompsub.c')
-rw-r--r-- | src/tests/texcompsub.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/texcompsub.c b/src/tests/texcompsub.c index e92a50aa..4cbcead8 100644 --- a/src/tests/texcompsub.c +++ b/src/tests/texcompsub.c @@ -7,7 +7,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <glad/glad.h> +#include "glad/gl.h" #include "glut_wrap.h" #include "texcomp_image.h" @@ -170,7 +170,7 @@ main( int argc, char *argv[] ) glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE); glutCreateWindow(argv[0]); - gladLoadGL(); + gladLoaderLoadGL(); glutReshapeFunc( Reshape ); glutKeyboardFunc( Key ); @@ -179,5 +179,6 @@ main( int argc, char *argv[] ) Init(); glutMainLoop(); + gladLoaderUnloadGL(); return 0; } |