X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fsuperquadrics.c;h=f274741b5557ef854a0ef1f3ebd6eca5b5006667;hp=cfc2999a56d7a8938ba9f125423063e9636e8e0f;hb=96a411663168b0ba5432b407a83be55f3df0c802;hpb=df7adbee81405e2849728a24b498ad2117784b1f diff --git a/hacks/glx/superquadrics.c b/hacks/glx/superquadrics.c index cfc2999a..f274741b 100644 --- a/hacks/glx/superquadrics.c +++ b/hacks/glx/superquadrics.c @@ -1,9 +1,8 @@ /* -*- Mode: C; tab-width: 4 -*- */ /* superquadrics --- 3D mathematical shapes */ -#if !defined( lint ) && !defined( SABER ) +#if 0 static const char sccsid[] = "@(#)superquadrics.c 4.07 97/11/24 xlockmore"; - #endif /*- @@ -83,9 +82,10 @@ static const char sccsid[] = "@(#)superquadrics.c 4.07 97/11/24 xlockmore"; # define HACK_INIT init_superquadrics # define HACK_DRAW draw_superquadrics # define superquadrics_opts xlockmore_opts -# define DEFAULTS "*delay: 100 \n" \ +# define DEFAULTS "*delay: 40000 \n" \ "*count: 25 \n" \ "*cycles: 40 \n" \ + "*showFPS: False \n" \ "*wireframe: False \n" # include "xlockmore.h" /* from the xscreensaver distribution */ #else /* !STANDALONE */ @@ -752,6 +752,7 @@ draw_superquadrics(ModeInfo * mi) NextSuperquadricDisplay(sp); + if (mi->fps_p) do_fps (mi); glFinish(); glXSwapBuffers(display, window); }