diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-01-09 17:00:57 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-01-09 17:00:57 +0000 |
commit | b58091a336d767bf82dbf12d6161997206a44bcf (patch) | |
tree | a8cbbecfb2c3faeeeec476047d529bd9a989f658 /progs/demos/fogcoord.c | |
parent | 429efa9f00b63f08ba4bc76e5b8ba80aceee24ec (diff) | |
download | external_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.c | 4 |
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 *); |