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