X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fflipscreen3d.c;h=4cee56ee262011142accee066014dd53add1e138;hp=735c8d2c0729b6ab5a1e022a10be4f02bc209a5c;hb=ffd8c0873576a9e3065696a624dce6b766b77062;hpb=96a411663168b0ba5432b407a83be55f3df0c802 diff --git a/hacks/glx/flipscreen3d.c b/hacks/glx/flipscreen3d.c index 735c8d2c..4cee56ee 100644 --- a/hacks/glx/flipscreen3d.c +++ b/hacks/glx/flipscreen3d.c @@ -1,5 +1,5 @@ /* - * screenflip - takes snapshots of the screen and flips it around + * flipscreen3d - takes snapshots of the screen and flips it around * * version 1.0 - Oct 24, 2001 * @@ -18,7 +18,7 @@ #ifdef STANDALONE -# define PROGCLASS "Screenflip" +# define PROGCLASS "FlipScreen3D" # define HACK_INIT init_screenflip # define HACK_DRAW draw_screenflip # define HACK_RESHAPE reshape_screenflip @@ -63,13 +63,13 @@ GLfloat qx = -6 , qy = 6; static XrmOptionDescRec opts[] = { - {"+rotate", ".screenflip.rotate", XrmoptionNoArg, (caddr_t) "false" }, - {"-rotate", ".screenflip.rotate", XrmoptionNoArg, (caddr_t) "true" }, + {"+rotate", ".screenflip.rotate", XrmoptionNoArg, "false" }, + {"-rotate", ".screenflip.rotate", XrmoptionNoArg, "true" }, }; static argtype vars[] = { - {(caddr_t *) &rotate, "rotate", "Rotate", "True", t_Bool}, + {&rotate, "rotate", "Rotate", "True", t_Bool}, };