diff options
Diffstat (limited to 'src/tests/texfilt.c')
-rw-r--r-- | src/tests/texfilt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/texfilt.c b/src/tests/texfilt.c index 88c58c6b..24b73119 100644 --- a/src/tests/texfilt.c +++ b/src/tests/texfilt.c @@ -27,7 +27,7 @@ #include <stdlib.h> #include <string.h> #include <math.h> -#include <glad/glad.h> +#include "glad/gl.h" #include "glut_wrap.h" const GLenum filter_modes[] = { @@ -382,7 +382,7 @@ int main( int argc, char ** argv ) glutInitWindowSize( 800, 600 ); glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE ); glutCreateWindow( "Texture Filter Test" ); - gladLoadGL(); + gladLoaderLoadGL(); glutReshapeFunc( Reshape ); glutKeyboardFunc( Key ); glutSpecialFunc( SpecialKey ); @@ -396,5 +396,6 @@ int main( int argc, char ** argv ) printf("Use 'q' to exit.\n\n"); glutMainLoop(); + gladLoaderUnloadGL(); return 0; } |