summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-11-09 14:13:18 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-11-09 14:13:18 +0000
commit91e863fe89c1ca2a1312cd28bba89134364dbfc5 (patch)
tree02d9721b6303602a17d7297c9edf469aee26ac1d
parentc207ac5309decacb805ddea71ca9d0e4cc9a5c58 (diff)
Use glew.h instead of glext.h
glext.h is not always available, and glew.h is already a hard dependency.
-rw-r--r--src/demos/lodbias.c2
-rw-r--r--src/glsl/bezier.c1
-rw-r--r--src/tests/occlude.c2
3 files changed, 2 insertions, 3 deletions
diff --git a/src/demos/lodbias.c b/src/demos/lodbias.c
index 23488b16..c1c6e3d1 100644
--- a/src/demos/lodbias.c
+++ b/src/demos/lodbias.c
@@ -31,8 +31,8 @@
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
+#include <GL/glew.h>
#include <GL/glut.h>
-#include <GL/glext.h>
#include "readtex.h"
diff --git a/src/glsl/bezier.c b/src/glsl/bezier.c
index a4b77774..0c04b72d 100644
--- a/src/glsl/bezier.c
+++ b/src/glsl/bezier.c
@@ -11,7 +11,6 @@
#define GL_GLEXT_PROTOTYPES
#include <GL/glew.h>
#include <GL/glut.h>
-#include <GL/glext.h>
#include "shaderutil.h"
static const char *filename = "bezier.geom";
diff --git a/src/tests/occlude.c b/src/tests/occlude.c
index 8f7b9098..af12374c 100644
--- a/src/tests/occlude.c
+++ b/src/tests/occlude.c
@@ -29,8 +29,8 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
+#include <GL/glew.h>
#include <GL/glut.h>
-#include <GL/glext.h>
static GLfloat Xpos = 0;