X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fstairs.c;h=583360cdba1fe195db219298ca3be1d792db6c8f;hb=3f438031d610c7e15fd33876a879b97e290e05fb;hp=6832bf4117bc0d48f34acad2a58f71ac3a0edf3b;hpb=cccbddbc4140cf9a06d7d95cc5c0ca36eb5d6e28;p=xscreensaver diff --git a/hacks/glx/stairs.c b/hacks/glx/stairs.c index 6832bf41..583360cd 100644 --- a/hacks/glx/stairs.c +++ b/hacks/glx/stairs.c @@ -1,9 +1,8 @@ /* -*- Mode: C; tab-width: 4 -*- */ /* stairs --- Infinite Stairs, and Escher-like scene. */ -#if !defined( lint ) && !defined( SABER ) +#if 0 static const char sccsid[] = "@(#)stairs.c 4.07 97/11/24 xlockmore"; - #endif #undef DEBUG_LISTS @@ -66,9 +65,8 @@ static const char sccsid[] = "@(#)stairs.c 4.07 97/11/24 xlockmore"; # define HACK_DRAW draw_stairs # define HACK_RESHAPE reshape_stairs # define stairs_opts xlockmore_opts -# define DEFAULTS "*delay: 20000 \n" \ - "*showFPS: False \n" \ - "*wireframe: False \n" +# define DEFAULTS "*delay: 20000 \n" \ + "*showFPS: False \n" # include "xlockmore.h" /* from the xscreensaver distribution */ #else /* !STANDALONE */ # include "xlock.h" /* from the xlockmore distribution */ @@ -473,7 +471,7 @@ pinit(void) GL_RGB, GL_UNSIGNED_BYTE, WoodTextureData); if (status) { - const char *s = gluErrorString (status); + const char *s = (char *) gluErrorString (status); fprintf (stderr, "%s: error mipmapping %dx%d texture: %s\n", progname, WoodTextureWidth, WoodTextureHeight, (s ? s : "(unknown)"));