projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65098ec
)
fix compilation for windows
author
Karl Schultz
<kschultz@freedesktop.org>
Thu, 27 Feb 2003 19:43:02 +0000
(19:43 +0000)
committer
Karl Schultz
<kschultz@freedesktop.org>
Thu, 27 Feb 2003 19:43:02 +0000
(19:43 +0000)
progs/demos/winpos.c
patch
|
blob
|
history
diff --git
a/progs/demos/winpos.c
b/progs/demos/winpos.c
index f6415263d46f9f951163bf1709cd8ea88ea1cb5e..c8f7fb3844b13d9ffe47300750e6aca230b0bb93 100644
(file)
--- 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 )
{