X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fbuildlwo.c;h=c20c9e2d81a21ffff228f8666b5db46f57c1a7ee;hp=ea88f999e55ef50a4357ba17fd9662fe6565de55;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hpb=5f1f12f2a37da634000f96d18d59cc73a8814ef7 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;