X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fhypnowheel.c;h=3131a9fce80331144088d5fbb522b18d167c2b11;hb=c70f94f648d51bb4828193124f325fa52b0e57f3;hp=c05f503d3b994296d5b0a34546262b94216e92fa;hpb=6b1c86cf395f59389e4ece4ea8f4bea2c332745b;p=xscreensaver diff --git a/hacks/glx/hypnowheel.c b/hacks/glx/hypnowheel.c index c05f503d..3131a9fc 100644 --- a/hacks/glx/hypnowheel.c +++ b/hacks/glx/hypnowheel.c @@ -63,7 +63,7 @@ static hypnowheel_configuration *bps = NULL; static GLfloat speed; static GLfloat twistiness; -static GLfloat nlayers; +static GLint nlayers; static Bool do_wander; static Bool do_symmetric; @@ -82,7 +82,7 @@ static argtype vars[] = { {&do_symmetric, "symmetric", "Symmetric", DEF_SYMMETRIC, t_Bool}, {&speed, "speed", "Speed", DEF_SPEED, t_Float}, {&twistiness, "twistiness", "Twistiness", DEF_TWISTINESS, t_Float}, - {&nlayers, "layers", "Layers", DEF_LAYERS, t_Float}, + {&nlayers, "layers", "Layers", DEF_LAYERS, t_Int}, }; ENTRYPOINT ModeSpecOpt hypnowheel_opts = {