summaryrefslogtreecommitdiff
path: root/src/tests/arraytexture.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/arraytexture.c')
-rw-r--r--src/tests/arraytexture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/arraytexture.c b/src/tests/arraytexture.c
index 4d6b5c09..4620c821 100644
--- a/src/tests/arraytexture.c
+++ b/src/tests/arraytexture.c
@@ -34,7 +34,7 @@
#include <stdio.h>
#include <string.h>
#include <math.h>
-#include <GL/glew.h>
+#include <glad/glad.h>
#include "glut_wrap.h"
#if !defined(GL_EXT_texture_array) && !defined(GL_MESA_texture_array)
@@ -317,7 +317,7 @@ int main(int argc, char *argv[])
glutInitWindowSize(350, 350);
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE);
glutCreateWindow("Array texture test");
- glewInit();
+ gladLoadGL();
glutReshapeFunc(Reshape);
glutKeyboardFunc(Key);
glutSpecialFunc(SpecialKey);