Skip to content

Commit

Permalink
Move model rendering back to 16bit vertex indexes, will fix later if …
Browse files Browse the repository at this point in the history
…someone comes up with a reason for a model with >65535 verticies in Stepmania.
  • Loading branch information
xwidghet committed Jun 14, 2017
1 parent 8480006 commit 3951fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RageDisplay_D3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ class RageCompiledGeometrySWD3D : public RageCompiledGeometry
meshInfo.iVertexCount, // NumVertices
meshInfo.iTriangleCount, // PrimitiveCount,
&m_vTriangles[0]+meshInfo.iTriangleStart,// pIndexData,
D3DFMT_INDEX32, // IndexDataFormat,
D3DFMT_INDEX16, // IndexDataFormat,
&m_vVertex[0], // pVertexStreamZeroData,
sizeof(m_vVertex[0]) // VertexStreamZeroStride
);
Expand Down

0 comments on commit 3951fd3

Please sign in to comment.