summaryrefslogtreecommitdiffstats
path: root/progs/demos/fogcoord.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-01-09 17:00:57 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-01-09 17:00:57 +0000
commitb58091a336d767bf82dbf12d6161997206a44bcf (patch)
treea8cbbecfb2c3faeeeec476047d529bd9a989f658 /progs/demos/fogcoord.c
parent429efa9f00b63f08ba4bc76e5b8ba80aceee24ec (diff)
downloadexternal_mesa3d-b58091a336d767bf82dbf12d6161997206a44bcf.zip
external_mesa3d-b58091a336d767bf82dbf12d6161997206a44bcf.tar.gz
external_mesa3d-b58091a336d767bf82dbf12d6161997206a44bcf.tar.bz2
Add #ifdefs for extension testing (Marcello Magallon)
Diffstat (limited to 'progs/demos/fogcoord.c')
-rw-r--r--progs/demos/fogcoord.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/demos/fogcoord.c b/progs/demos/fogcoord.c
index 75a0835..f4f8199 100644
--- a/progs/demos/fogcoord.c
+++ b/progs/demos/fogcoord.c
@@ -23,6 +23,10 @@
#define DEPTH 15.0f
+#if !defined(GLAPIENTRYP)
+# define GLAPIENTRYP *
+#endif
+
typedef void (GLAPIENTRYP GLFOGCOORDFEXTPROC) (GLfloat f);
typedef void (GLAPIENTRYP GLFOGCOORDPOINTEREXTPROC) (GLenum, GLsizei, const GLvoid *);