diff options
Diffstat (limited to 'src/fp/tri-depthwrite2.c')
-rw-r--r-- | src/fp/tri-depthwrite2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fp/tri-depthwrite2.c b/src/fp/tri-depthwrite2.c index 26f0997c..e77457c1 100644 --- a/src/fp/tri-depthwrite2.c +++ b/src/fp/tri-depthwrite2.c @@ -2,7 +2,7 @@ #include <stdio.h> #include <string.h> #include <stdlib.h> -#include <glad/glad.h> +#include "glad/gl.h" #include "glut_wrap.h" @@ -97,7 +97,7 @@ int main(int argc, char **argv) exit(1); } - gladLoadGL(); + gladLoaderLoadGL(); Init(); @@ -105,5 +105,6 @@ int main(int argc, char **argv) glutKeyboardFunc(Key); glutDisplayFunc(Draw); glutMainLoop(); + gladLoaderUnloadGL(); return 0; } |