diff options
Diffstat (limited to 'src/tests/subtex.c')
-rw-r--r-- | src/tests/subtex.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/subtex.c b/src/tests/subtex.c index e3cf2ba1..de244ff1 100644 --- a/src/tests/subtex.c +++ b/src/tests/subtex.c @@ -9,7 +9,7 @@ #include <assert.h> #include <stdio.h> #include <stdlib.h> -#include "glad/glad.h" +#include "glad/gl.h" #include "glut_wrap.h" static GLuint Window = 0; @@ -208,7 +208,7 @@ int main( int argc, char *argv[] ) glutInitDisplayMode( GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE ); Window = glutCreateWindow("Texture Objects"); - gladLoadGL(); + gladLoaderLoadGL(); if (!Window) { exit(1); } @@ -221,5 +221,6 @@ int main( int argc, char *argv[] ) glutIdleFunc( idle ); glutDisplayFunc( draw ); glutMainLoop(); + gladLoaderUnloadGL(); return 0; } |