summaryrefslogtreecommitdiff
path: root/src/redbook/shadowmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/redbook/shadowmap.c')
-rw-r--r--src/redbook/shadowmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/redbook/shadowmap.c b/src/redbook/shadowmap.c
index 92932853..1108bb5f 100644
--- a/src/redbook/shadowmap.c
+++ b/src/redbook/shadowmap.c
@@ -43,7 +43,7 @@
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
-#include <glad/glad.h>
+#include "glad/gl.h"
#include "glut_wrap.h"
#include "matrix.h"
/*#include "helpers.h"*/
@@ -324,7 +324,7 @@ main( int argc, char** argv )
glutInitWindowSize( 512, 512 );
glutInitWindowPosition( 100, 100 );
glutCreateWindow( argv[0] );
- gladLoadGL();
+ gladLoaderLoadGL();
init();
@@ -335,5 +335,6 @@ main( int argc, char** argv )
glutMainLoop();
+ gladLoaderUnloadGL();
return 0;
}