All drawing is now indexed lists, through IndexGenerator.

This commit is contained in:
Henrik Rydgard committed 2012-12-21 18:46:15 +01:00
1 parent 4eeab83389
commit 2e9daa5f89
6 files changed
+122 -67

No files matched your search

+1 -1
View File
@@ -675,7 +675,7 @@ void VertexDecoder::DecodeVerts(u8 *decodedptr, const void *verts, const void *i
*indexUpperBound = upperBound;
// Decode the vertices within the found bounds, once each
decoded_ = decodedptr + lowerBound * decFmt.stride;
decoded_ = decodedptr; // + lowerBound * decFmt.stride;
ptr_ = (const u8*)verts + lowerBound * size;
for (int index = lowerBound; index <= upperBound; index++)
{