summaryrefslogtreecommitdiff
path: root/src/tests/arbfptrig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/arbfptrig.c')
-rw-r--r--src/tests/arbfptrig.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/arbfptrig.c b/src/tests/arbfptrig.c
index d8b31123..c48c456e 100644
--- a/src/tests/arbfptrig.c
+++ b/src/tests/arbfptrig.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"
#include "readtex.c"
@@ -146,12 +146,13 @@ 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 );
glutDisplayFunc( Display );
Init();
glutMainLoop();
+ gladLoaderUnloadGL();
return 0;
}