diff options
Diffstat (limited to 'src/tests/pbo.c')
-rw-r--r-- | src/tests/pbo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/pbo.c b/src/tests/pbo.c index f367fd74..3b402c6c 100644 --- a/src/tests/pbo.c +++ b/src/tests/pbo.c @@ -10,7 +10,7 @@ #include <stdio.h> #include <stdlib.h> #include <math.h> -#include <glad/glad.h> +#include "glad/gl.h" #include "glut_wrap.h" #include "../util/readtex.c" /* a hack, I know */ @@ -287,11 +287,12 @@ main( int argc, char *argv[] ) glutInitWindowSize( 750, 250 ); glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE ); glutCreateWindow(argv[0]); - gladLoadGL(); + gladLoaderLoadGL(); Init(); glutReshapeFunc( Reshape ); glutKeyboardFunc( Key ); glutDisplayFunc( Display ); glutMainLoop(); + gladLoaderUnloadGL(); return 0; } |