summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2003-02-27 19:43:02 +0000
committerKarl Schultz <kschultz@freedesktop.org>2003-02-27 19:43:02 +0000
commite9218448caa44708fe38646e077ca89058d9d4e1 (patch)
treefd51cb85b3fd845ef8a4c48c1e3c23ad62c4d9b0 /progs
parent65098ec9f57b8d3a8883c186965220ff12986873 (diff)
fix compilation for windows
Diffstat (limited to 'progs')
-rw-r--r--progs/demos/winpos.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/demos/winpos.c b/progs/demos/winpos.c
index f6415263d4..c8f7fb3844 100644
--- a/progs/demos/winpos.c
+++ b/progs/demos/winpos.c
@@ -1,4 +1,4 @@
-/* $Id: winpos.c,v 1.6 2002/12/03 03:13:17 brianp Exp $ */
+/* $Id: winpos.c,v 1.7 2003/02/27 19:43:02 kschultz Exp $ */
/*
* Example of how to use the GL_MESA_window_pos extension.
@@ -30,8 +30,8 @@ static GLubyte *Image;
static int ImgWidth, ImgHeight;
static GLenum ImgFormat;
-static void (*WindowPosFunc)(GLfloat x, GLfloat y);
-
+typedef void (APIENTRY * PFNWINDOWPOSFUNC)(GLfloat x, GLfloat y);
+static PFNWINDOWPOSFUNC WindowPosFunc;
static void draw( void )
{