diff options
Diffstat (limited to 'src/tests/streaming_rect.c')
-rw-r--r-- | src/tests/streaming_rect.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/streaming_rect.c b/src/tests/streaming_rect.c index 881db697..68cf1d5a 100644 --- a/src/tests/streaming_rect.c +++ b/src/tests/streaming_rect.c @@ -10,7 +10,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <glad/glad.h> +#include "glad/gl.h" #include "glut_wrap.h" @@ -304,7 +304,7 @@ int main( int argc, char *argv[] ) glutInitWindowPosition( 0, 0 ); glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE ); glutCreateWindow(argv[0] ); - gladLoadGL(); + gladLoaderLoadGL(); Init( argc, argv ); @@ -321,5 +321,6 @@ int main( int argc, char *argv[] ) glutAttachMenu(GLUT_RIGHT_BUTTON); glutMainLoop(); + gladLoaderUnloadGL(); return 0; } |