diff options
Diffstat (limited to 'progs/demos')
-rw-r--r-- | progs/demos/paltex.c | 7 |
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 } |