diff options
author | Karl Schultz <[email protected]> | 2002-01-16 00:48:43 +0000 |
---|---|---|
committer | Karl Schultz <[email protected]> | 2002-01-16 00:48:43 +0000 |
commit | 164ce1220232e03660633e16681737782c73059e (patch) | |
tree | 31ff2ee201ee8063f60e7adb5fabdf35683d5efc /progs/demos/winpos.c | |
parent | 83356781e104cea412da9bd6d1127b56e0d7a6c4 (diff) |
Demo updates for Windows (Robert Bergkvist)
Diffstat (limited to 'progs/demos/winpos.c')
-rw-r--r-- | progs/demos/winpos.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/progs/demos/winpos.c b/progs/demos/winpos.c index b799657b8e9..d2bd3494cca 100644 --- a/progs/demos/winpos.c +++ b/progs/demos/winpos.c @@ -1,4 +1,4 @@ -/* $Id: winpos.c,v 1.3 2000/12/24 22:53:54 pesco Exp $ */ +/* $Id: winpos.c,v 1.4 2002/01/16 00:48:43 kschultz Exp $ */ /* * Example of how to use the GL_MESA_window_pos extension. @@ -8,6 +8,9 @@ /* * $Log: winpos.c,v $ + * Revision 1.4 2002/01/16 00:48:43 kschultz + * Demo updates for Windows (Robert Bergkvist) + * * Revision 1.3 2000/12/24 22:53:54 pesco * * demos/Makefile.am (INCLUDES): Added -I$(top_srcdir)/util. * * demos/Makefile.X11, demos/Makefile.BeOS-R4, demos/Makefile.cygnus: @@ -59,6 +62,9 @@ #include <string.h> #include <stdlib.h> #include <stdio.h> +#ifdef _WIN32 +#include <windows.h> +#endif #define GL_GLEXT_LEGACY #include "GL/glut.h" |