X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fbuildlwo.c;h=c20c9e2d81a21ffff228f8666b5db46f57c1a7ee;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hp=ea88f999e55ef50a4357ba17fd9662fe6565de55;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/glx/buildlwo.c b/hacks/glx/buildlwo.c index ea88f999..c20c9e2d 100644 --- a/hacks/glx/buildlwo.c +++ b/hacks/glx/buildlwo.c @@ -79,7 +79,7 @@ BuildLWO(int wireframe, const struct lwo *object) grab = pnts + ((int) (*pols) * 3); three[0] = *(grab++); three[1] = *(grab++); - three[2] = *(grab++); + three[2] = *(grab); glVertex3fv(three); } --num_pnts;