summaryrefslogtreecommitdiff
path: root/src/tests/debugger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/debugger.c')
-rw-r--r--src/tests/debugger.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/debugger.c b/src/tests/debugger.c
index d4074ddd..ef67fb54 100644
--- a/src/tests/debugger.c
+++ b/src/tests/debugger.c
@@ -9,7 +9,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
-#include <glad/glad.h>
+#include "glad/gl.h"
#include "glut_wrap.h"
@@ -722,7 +722,7 @@ int main( int argc, char *argv[] )
glutInitWindowSize( 200, 200 );
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH );
glutCreateWindow(argv[0]);
- gladLoadGL();
+ gladLoaderLoadGL();
glutReshapeFunc( Reshape );
glutKeyboardFunc( Key );
glutSpecialFunc( SpecialKey );
@@ -731,5 +731,6 @@ int main( int argc, char *argv[] )
glutIdleFunc(Idle);
Init(argc, argv);
glutMainLoop();
+ gladLoaderUnloadGL();
return 0;
}