diff options
Diffstat (limited to 'src/tests/yuvrect.c')
-rw-r--r-- | src/tests/yuvrect.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/yuvrect.c b/src/tests/yuvrect.c index fd7271ff..3446d0d7 100644 --- a/src/tests/yuvrect.c +++ b/src/tests/yuvrect.c @@ -9,7 +9,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <glad/glad.h> +#include "glad/gl.h" #include "glut_wrap.h" #include "../util/readtex.c" /* I know, this is a hack. */ @@ -180,7 +180,7 @@ int main( int argc, char *argv[] ) glutInitWindowPosition( 0, 0 ); glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE ); glutCreateWindow(argv[0] ); - gladLoadGL(); + gladLoaderLoadGL(); Init( argc, argv ); @@ -190,5 +190,6 @@ int main( int argc, char *argv[] ) glutDisplayFunc( Display ); glutMainLoop(); + gladLoaderUnloadGL(); return 0; } |