From b58091a336d767bf82dbf12d6161997206a44bcf Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 9 Jan 2005 17:00:57 +0000 Subject: Add #ifdefs for extension testing (Marcello Magallon) --- progs/demos/fogcoord.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'progs/demos/fogcoord.c') 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 *); -- cgit v1.2.3