summaryrefslogtreecommitdiffstats
path: root/progs/demos/fogcoord.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-01-09 17:00:57 +0000
committerBrian Paul <[email protected]>2005-01-09 17:00:57 +0000
commitb58091a336d767bf82dbf12d6161997206a44bcf (patch)
treea8cbbecfb2c3faeeeec476047d529bd9a989f658 /progs/demos/fogcoord.c
parent429efa9f00b63f08ba4bc76e5b8ba80aceee24ec (diff)
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 75a0835d4fe..f4f8199efa5 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 *);