summaryrefslogtreecommitdiffstats
path: root/progs/demos/fogcoord.c
diff options
context:
space:
mode:
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 *);