Help with NeHe Tutotorial 7: flag effect

Hi all.

I’m having some problems with this lesson of the NeHe tutorials: i see the flag as it was a blind instead a curtain, as you can see in the screenshot, because the sub-quad rows are not connected

http://flx.proyectoanonimo.com/res/shot.jpg

my code is almost the same from the tutorial, save for the jsr-231 specific things like texture loading. why im getting this effect?

Looks like a GL_QUADS instead of a GL_SQUADSTRIP

ah silly me it was a missing +1 on the indexes of the points matrix :-[