fix d3d model crash
This commit is contained in:
@@ -680,7 +680,7 @@ void RageDisplay_D3D::DrawIndexedTriangles( const RageVertex v[], int iNumVerts,
|
|||||||
g_pd3dDevice->DrawIndexedPrimitiveUP(
|
g_pd3dDevice->DrawIndexedPrimitiveUP(
|
||||||
D3DPT_TRIANGLELIST, // PrimitiveType
|
D3DPT_TRIANGLELIST, // PrimitiveType
|
||||||
0, // MinIndex
|
0, // MinIndex
|
||||||
iNumIndices, // NumVertices
|
iNumVerts, // NumVertices
|
||||||
iNumIndices/3, // PrimitiveCount,
|
iNumIndices/3, // PrimitiveCount,
|
||||||
pIndices, // pIndexData,
|
pIndices, // pIndexData,
|
||||||
D3DFMT_INDEX16, // IndexDataFormat,
|
D3DFMT_INDEX16, // IndexDataFormat,
|
||||||
|
|||||||
Reference in New Issue
Block a user