summaryrefslogtreecommitdiff
path: root/src/glsl/convolutions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/convolutions.c')
-rw-r--r--src/glsl/convolutions.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glsl/convolutions.c b/src/glsl/convolutions.c
index 567b358f..874e7f73 100644
--- a/src/glsl/convolutions.c
+++ b/src/glsl/convolutions.c
@@ -5,7 +5,7 @@
* Author: Zack Rusin
*/
-#include <glad/glad.h>
+#include "glad/gl.h"
#define GL_GLEXT_PROTOTYPES
#include "readtex.h"
@@ -456,7 +456,7 @@ int main(int argc, char **argv)
exit(1);
}
- gladLoadGL();
+ gladLoaderLoadGL();
init();
glutReshapeFunc(reshape);
@@ -466,5 +466,6 @@ int main(int argc, char **argv)
glutMainLoop();
+ gladLoaderUnloadGL();
return 0;
}