summaryrefslogtreecommitdiff
path: root/src/glsl/bump.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/bump.c')
-rw-r--r--src/glsl/bump.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glsl/bump.c b/src/glsl/bump.c
index 95ad19f3..9ba0c6da 100644
--- a/src/glsl/bump.c
+++ b/src/glsl/bump.c
@@ -9,7 +9,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"
#include "readtex.h"
@@ -334,7 +334,7 @@ main(int argc, char *argv[])
glutInitWindowSize(400, 400);
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
win = glutCreateWindow(argv[0]);
- gladLoadGL();
+ gladLoaderLoadGL();
glutReshapeFunc(Reshape);
glutKeyboardFunc(Key);
glutSpecialFunc(SpecialKey);
@@ -342,6 +342,7 @@ main(int argc, char *argv[])
ParseOptions(argc, argv);
Init();
glutMainLoop();
+ gladLoaderUnloadGL();
return 0;
}