summaryrefslogtreecommitdiff
path: root/progs/demos
diff options
context:
space:
mode:
authorJouk Jansen <joukj@hrem.stm.tudelft.nl>2000-10-05 07:17:43 +0000
committerJouk Jansen <joukj@hrem.stm.tudelft.nl>2000-10-05 07:17:43 +0000
commit55590ee810a493f151299d70d0defa7cbae041a2 (patch)
treec4c7e9368a06e56da8972fbdbb394f4921f3e225 /progs/demos
parent476609c539103c7981c972f24d4eaea499894050 (diff)
Committing in .
Modified Files: Mesa/demos/paltex.c Silenced compiler warnings ----------------------------------------------------------------------
Diffstat (limited to 'progs/demos')
-rw-r--r--progs/demos/paltex.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/progs/demos/paltex.c b/progs/demos/paltex.c
index 71c2fedf81..aabb47bbc0 100644
--- a/progs/demos/paltex.c
+++ b/progs/demos/paltex.c
@@ -1,4 +1,4 @@
-/* $Id: paltex.c,v 1.5 2000/10/04 18:15:39 brianp Exp $ */
+/* $Id: paltex.c,v 1.6 2000/10/05 07:17:43 joukj Exp $ */
/*
* Paletted texture demo. Written by Brian Paul.
@@ -8,6 +8,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
+#include <string.h>
#define GL_GLEXT_LEGACY
#include <GL/glut.h>
@@ -167,8 +168,8 @@ static void Init( void )
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
-#undef HEIGHT 32
-#undef WIDTH 256
+#undef HEIGHT
+#undef WIDTH
}