summaryrefslogtreecommitdiff
path: root/src/fp/tri-depth2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fp/tri-depth2.c')
-rw-r--r--src/fp/tri-depth2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fp/tri-depth2.c b/src/fp/tri-depth2.c
index 227c5b8d..a1ef6638 100644
--- a/src/fp/tri-depth2.c
+++ b/src/fp/tri-depth2.c
@@ -2,7 +2,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include <GL/glew.h>
+#include <glad/glad.h>
#include "glut_wrap.h"
@@ -20,7 +20,7 @@ static void Init( void )
;
GLuint modulateProg;
- if (!GLEW_ARB_fragment_program) {
+ if (!GLAD_GL_ARB_fragment_program) {
printf("Error: GL_ARB_fragment_program not supported!\n");
exit(1);
}
@@ -105,7 +105,7 @@ int main(int argc, char **argv)
exit(1);
}
- glewInit();
+ gladLoadGL();
Init();