summaryrefslogtreecommitdiffstats
path: root/progs/demos/winpos.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-06-27 17:04:43 +0000
committerBrian Paul <[email protected]>2000-06-27 17:04:43 +0000
commit02e8a035934a7400d0194687061107bdaa1bba77 (patch)
treeab0b06c533e6f6fb2d409995f5b01423f29db105 /progs/demos/winpos.c
parent9e7f9b3e99cf4963e3bc684b5f9fc095be059a82 (diff)
fixed compiler warnings
Diffstat (limited to 'progs/demos/winpos.c')
-rw-r--r--progs/demos/winpos.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/progs/demos/winpos.c b/progs/demos/winpos.c
index a3f931cfd34..7001165deef 100644
--- a/progs/demos/winpos.c
+++ b/progs/demos/winpos.c
@@ -1,4 +1,4 @@
-/* $Id: winpos.c,v 1.1 1999/08/19 00:55:40 jtg Exp $ */
+/* $Id: winpos.c,v 1.2 2000/06/27 17:04:43 brianp Exp $ */
/*
* Example of how to use the GL_MESA_window_pos extension.
@@ -8,8 +8,11 @@
/*
* $Log: winpos.c,v $
- * Revision 1.1 1999/08/19 00:55:40 jtg
- * Initial revision
+ * Revision 1.2 2000/06/27 17:04:43 brianp
+ * fixed compiler warnings
+ *
+ * Revision 1.1.1.1 1999/08/19 00:55:40 jtg
+ * Imported sources
*
* Revision 3.3 1999/03/28 18:24:37 brianp
* minor clean-up
@@ -30,6 +33,7 @@
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
+#define GL_GLEXT_LEGACY
#include "GL/glut.h"
#include "../util/readtex.c" /* a hack, I know */