diff options
Diffstat (limited to 'src/glsl/geom-stipple-lines.c')
-rw-r--r-- | src/glsl/geom-stipple-lines.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glsl/geom-stipple-lines.c b/src/glsl/geom-stipple-lines.c index 6f63badc..fdf3f7fd 100644 --- a/src/glsl/geom-stipple-lines.c +++ b/src/glsl/geom-stipple-lines.c @@ -10,7 +10,7 @@ #include <stdio.h> #include <stdlib.h> #include <math.h> -#include <glad/glad.h> +#include "glad/gl.h" #include "glut_wrap.h" #include "shaderutil.h" @@ -333,7 +333,7 @@ main(int argc, char *argv[]) glutInitWindowSize(WinWidth, WinHeight); glutInitDisplayMode(GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE); Win = glutCreateWindow(argv[0]); - gladLoadGL(); + gladLoaderLoadGL(); glutReshapeFunc(Reshape); glutKeyboardFunc(Key); glutDisplayFunc(Redisplay); @@ -342,5 +342,6 @@ main(int argc, char *argv[]) Init(); glutMainLoop(); + gladLoaderUnloadGL(); return 0; } |