X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fglknots.c;h=f12e4348dae948c7d0dabfbb49825eb8e7633f0f;hp=978b70f097e609fe0108d8a9d7c670f686edf1f3;hb=488f2fa8fbdbc77e91a70da2962d73af49e6cace;hpb=c8c6deae79b408cffbc88043c766b3bc12cf0f13 diff --git a/hacks/glx/glknots.c b/hacks/glx/glknots.c index 978b70f0..f12e4348 100644 --- a/hacks/glx/glknots.c +++ b/hacks/glx/glknots.c @@ -1,4 +1,4 @@ -/* glknots, Copyright (c) 2003-2006 Jamie Zawinski +/* glknots, Copyright (c) 2003-2007 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -158,12 +158,10 @@ make_knot (ModeInfo *mi) di = (di * di * 3); } - tube (ox, oy, oz, - x, y, z, - di, dist/3, - faces, True, wire, wire); - - mi->polygon_count += faces; + mi->polygon_count += tube (ox, oy, oz, + x, y, z, + di, dist/3, + faces, True, wire, wire); } ox = x;