VBO's face index was incorrect, didnt see this break anything but was giving the triangulated index (always wrong for quads).

This commit is contained in:
2010-02-05 13:40:43 +00:00
parent 236b533015
commit 61755860ea

View File

@@ -860,7 +860,7 @@ static void cdDM_drawMappedFaces(DerivedMesh *dm, int (*setDrawOptions)(void *us
dontdraw = 1; dontdraw = 1;
} }
else else
orig = i; orig = actualFace;
if( dontdraw ) { if( dontdraw ) {
state = 0; state = 0;
} }