diff options
Diffstat (limited to 'src/redbook/convolution.c')
-rw-r--r-- | src/redbook/convolution.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/redbook/convolution.c b/src/redbook/convolution.c index 097a2951..eceac6c9 100644 --- a/src/redbook/convolution.c +++ b/src/redbook/convolution.c @@ -45,7 +45,7 @@ * Use various 2D convolutions filters to find edges in an image. * */ -#include <glad/glad.h> +#include "glad/gl.h" #include "glut_wrap.h" #include <assert.h> #include <stdio.h> @@ -208,11 +208,12 @@ int main(int argc, char** argv) glutInitWindowSize(width, height); glutInitWindowPosition(100, 100); glutCreateWindow(argv[0]); - gladLoadGL(); + gladLoaderLoadGL(); init(); glutReshapeFunc(reshape); glutKeyboardFunc(keyboard); glutDisplayFunc(display); glutMainLoop(); + gladLoaderUnloadGL(); return 0; } |