X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=hacks%2Fglx%2Ftube.c;fp=hacks%2Fglx%2Ftube.c;h=556de1f4a60d411b14d727d2075d955358dcaca1;hb=3f9592851ce4ed76a9979bfdd6ec7dc5c457e183;hp=c11d5b30cf46249d5b8f8578212dc8ac09e30da7;hpb=cccbddbc4140cf9a06d7d95cc5c0ca36eb5d6e28;p=xscreensaver diff --git a/hacks/glx/tube.c b/hacks/glx/tube.c index c11d5b30..556de1f4 100644 --- a/hacks/glx/tube.c +++ b/hacks/glx/tube.c @@ -23,7 +23,7 @@ unit_tube (int faces, Bool smooth, Bool wire) GLfloat step = M_PI * 2 / faces; GLfloat s2 = step/2; GLfloat th; - GLfloat x, y, x0, y0; + GLfloat x, y, x0=0, y0=0; int z = 0; /* side walls