Changeset 6038 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Dec 11, 2005, 12:26:48 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/vertex_array_model.cc
r6037 r6038 77 77 glTexCoordPointer(2, GL_FLOAT, 0, this->texCoords.getArray()); 78 78 79 for (GLuint i = 0; i+1 < this->stripes.size(); i++)79 for (GLuint i = 1; i < this->stripes.size(); ++i) 80 80 { 81 81 glDrawRangeElements(GL_TRIANGLE_STRIP, 82 stripes[i],83 stripes[i+1],82 this->stripes[i-1], 83 this->stripes[i], 84 84 this->indices.getCount(), 85 85 GL_UNSIGNED_BYTE,
Note: See TracChangeset
for help on using the changeset viewer.