diff options
Diffstat (limited to 'src/demos/vao_demo.c')
-rw-r--r-- | src/demos/vao_demo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/demos/vao_demo.c b/src/demos/vao_demo.c index 95a9e59e..0b7ade75 100644 --- a/src/demos/vao_demo.c +++ b/src/demos/vao_demo.c @@ -26,7 +26,7 @@ #include <stdio.h> #include <stdlib.h> #include <math.h> -#include <glad/glad.h> +#include "glad/gl.h" #include "glut_wrap.h" @@ -301,8 +301,9 @@ int main( int argc, char *argv[] ) glutKeyboardFunc( Key ); glutDisplayFunc( Display ); glutVisibilityFunc( Visible ); - gladLoadGL(); + gladLoaderLoadGL(); Init(); glutMainLoop(); + gladLoaderUnloadGL(); return 0; } |