diff options
Diffstat (limited to 'src/tests/bug_3101.c')
-rw-r--r-- | src/tests/bug_3101.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/bug_3101.c b/src/tests/bug_3101.c index a2f9d493..aa4dd0ac 100644 --- a/src/tests/bug_3101.c +++ b/src/tests/bug_3101.c @@ -34,7 +34,7 @@ #include <stdio.h> #include <stdlib.h> -#include <glad/glad.h> +#include "glad/gl.h" #include "glut_wrap.h" static int Width = 400; @@ -120,11 +120,12 @@ int main( int argc, char *argv[] ) glutInitWindowSize( Width, Height ); glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE ); glutCreateWindow( "Bug #3101 Test" ); - gladLoadGL(); + gladLoaderLoadGL(); glutReshapeFunc( Reshape ); glutKeyboardFunc( Key ); glutDisplayFunc( Display ); Init(); glutMainLoop(); + gladLoaderUnloadGL(); return 0; } |