diff options
Diffstat (limited to 'src/tests/texgenmix.c')
-rw-r--r-- | src/tests/texgenmix.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/texgenmix.c b/src/tests/texgenmix.c index 0e119cf4..2ec9b600 100644 --- a/src/tests/texgenmix.c +++ b/src/tests/texgenmix.c @@ -6,7 +6,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <glad/glad.h> +#include "glad/gl.h" #include "glut_wrap.h" #undef max @@ -619,7 +619,7 @@ int main( int argc, char *argv[] ) glutInitWindowSize( winWidth, winHeight ); glutInitWindowPosition( 0, 0 ); glutCreateWindow( "Mixed texgen/non-texgen texture coordinate test" ); - gladLoadGL(); + gladLoaderLoadGL(); initialize(); instructions(); @@ -638,5 +638,6 @@ int main( int argc, char *argv[] ) glutSpecialFunc( special ); glutMainLoop(); + gladLoaderUnloadGL(); return 0; } |