summaryrefslogtreecommitdiff
path: root/src/tests/texcompress2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/texcompress2.c')
-rw-r--r--src/tests/texcompress2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/texcompress2.c b/src/tests/texcompress2.c
index 26d07892..be183b46 100644
--- a/src/tests/texcompress2.c
+++ b/src/tests/texcompress2.c
@@ -5,7 +5,7 @@
#include <assert.h>
#include <stdio.h>
-#include <glad/glad.h>
+#include "glad/gl.h"
#include "glut_wrap.h"
#include "readtex.c"
@@ -276,7 +276,7 @@ main( int argc, char *argv[] )
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE);
glutCreateWindow(argv[0]);
- gladLoadGL();
+ gladLoaderLoadGL();
glutReshapeFunc( Reshape );
glutKeyboardFunc( Key );
@@ -288,5 +288,6 @@ main( int argc, char *argv[] )
Init(IMAGE_FILE);
glutMainLoop();
+ gladLoaderUnloadGL();
return 0;
}