summaryrefslogtreecommitdiff
path: root/tests/shaders
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-07-08 12:31:11 -0700
committerVinson Lee <vlee@vmware.com>2009-07-08 12:31:11 -0700
commit7b4f2e9a6395ca599fc41b3f9aa9a4d43d20eae5 (patch)
tree3d5ac70c230aa01cf495e0375e70f455897d266e /tests/shaders
parentf5bef2cf8b57f73c9726f174b5d4ad473742a689 (diff)
fp-kil: Fix compile errors with MSVC.
Diffstat (limited to 'tests/shaders')
-rw-r--r--tests/shaders/fp-kil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shaders/fp-kil.c b/tests/shaders/fp-kil.c
index 8e5619fe1..d24284a84 100644
--- a/tests/shaders/fp-kil.c
+++ b/tests/shaders/fp-kil.c
@@ -30,6 +30,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
+#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
@@ -352,6 +353,7 @@ int main(int argc, char *argv[])
glutReshapeFunc(Reshape);
glutKeyboardFunc(Key);
glutDisplayFunc(Redisplay);
+ glewInit();
Init();
glutMainLoop();
return 0;