X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=hacks%2Fglx%2Fhypnowheel.c;h=3131a9fce80331144088d5fbb522b18d167c2b11;hb=7b34ef992563d7bcbb64cc5597dc45fa24470b05;hp=c05f503d3b994296d5b0a34546262b94216e92fa;hpb=c1b9b55ad8d59dc05ef55e316aebf5863e7dfa56;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 = {