Demos (cmake): Use glew.h instead of glext.h
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Tue Nov 9 14:21:42 UTC 2010
Module: Demos
Branch: cmake
Commit: 91e863fe89c1ca2a1312cd28bba89134364dbfc5
URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=91e863fe89c1ca2a1312cd28bba89134364dbfc5
Author: José Fonseca <jfonseca at vmware.com>
Date: Tue Nov 9 14:13:18 2010 +0000
Use glew.h instead of glext.h
glext.h is not always available, and glew.h is already a hard dependency.
---
src/demos/lodbias.c | 2 +-
src/glsl/bezier.c | 1 -
src/tests/occlude.c | 2 +-
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/demos/lodbias.c b/src/demos/lodbias.c
index 23488b1..c1c6e3d 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 a4b7777..0c04b72 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 8f7b909..af12374 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;
More information about the mesa-commit
mailing list