summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
Diffstat (limited to 'progs')
-rw-r--r--progs/demos/morph3d.c11
-rw-r--r--progs/demos/renormal.c6
-rw-r--r--progs/demos/stex3d.c11
3 files changed, 20 insertions, 8 deletions
diff --git a/progs/demos/morph3d.c b/progs/demos/morph3d.c
index 30ca9221448..af052926d7d 100644
--- a/progs/demos/morph3d.c
+++ b/progs/demos/morph3d.c
@@ -1,9 +1,12 @@
-/* $Id: morph3d.c,v 1.1 1999/08/19 00:55:40 jtg Exp $ */
+/* $Id: morph3d.c,v 1.2 1999/09/17 12:27:01 brianp Exp $ */
/*
* $Log: morph3d.c,v $
- * Revision 1.1 1999/08/19 00:55:40 jtg
- * Initial revision
+ * Revision 1.2 1999/09/17 12:27:01 brianp
+ * silenced some warnings
+ *
+ * Revision 1.1.1.1 1999/08/19 00:55:40 jtg
+ * Imported sources
*
* Revision 3.1 1998/06/29 02:37:30 brianp
* minor changes for Windows (Ted Jump)
@@ -717,6 +720,8 @@ static void pinit(void);
static void key( unsigned char k, int x, int y )
{
+ (void) x;
+ (void) y;
switch (k) {
case '1': object=1; break;
case '2': object=2; break;
diff --git a/progs/demos/renormal.c b/progs/demos/renormal.c
index 8a86ac7cff6..dc5d980722a 100644
--- a/progs/demos/renormal.c
+++ b/progs/demos/renormal.c
@@ -1,4 +1,4 @@
-/* $Id: renormal.c,v 1.2 1999/09/17 02:40:51 tjump Exp $ */
+/* $Id: renormal.c,v 1.3 1999/09/17 12:27:01 brianp Exp $ */
/*
* Test GL_EXT_rescale_normal extension
@@ -6,7 +6,7 @@
*/
/*
- * $Id: renormal.c,v 1.2 1999/09/17 02:40:51 tjump Exp $
+ * $Id: renormal.c,v 1.3 1999/09/17 12:27:01 brianp Exp $
*/
@@ -98,6 +98,8 @@ static void ModeMenu(int entry)
static void
key(unsigned char k, int x, int y)
{
+ (void) x;
+ (void) y;
switch (k) {
case 27: /* Escape */
exit(0);
diff --git a/progs/demos/stex3d.c b/progs/demos/stex3d.c
index 7c478c79b41..2a35ca161f5 100644
--- a/progs/demos/stex3d.c
+++ b/progs/demos/stex3d.c
@@ -1,4 +1,4 @@
-/* $Id: stex3d.c,v 1.1 1999/08/19 00:55:40 jtg Exp $ */
+/* $Id: stex3d.c,v 1.2 1999/09/17 12:27:01 brianp Exp $ */
/*-----------------------------
* stex3d.c GL example of the mesa 3d-texture extention to simulate procedural
@@ -17,8 +17,11 @@
/*
* $Log: stex3d.c,v $
- * Revision 1.1 1999/08/19 00:55:40 jtg
- * Initial revision
+ * Revision 1.2 1999/09/17 12:27:01 brianp
+ * silenced some warnings
+ *
+ * Revision 1.1.1.1 1999/08/19 00:55:40 jtg
+ * Imported sources
*
* Revision 3.1 1998/06/09 01:53:49 brianp
* main() should return an int
@@ -401,6 +404,8 @@ void cleanEverything(void)
void KeyHandler( unsigned char key, int x, int y )
{
+ (void) x;
+ (void) y;
switch(key) {
case 27:
case 'q':