mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Really set maxindex correctly..
This commit is contained in:
parent
decdfadabc
commit
9755f6ba49
1 changed files with 1 additions and 1 deletions
|
@ -852,7 +852,7 @@ rotateVBO:
|
|||
if (useElements) {
|
||||
pD3Ddevice->SetIndices(ib_);
|
||||
|
||||
pD3Ddevice->DrawIndexedPrimitive(glprim[prim], 0, maxIndex + 1, vertexCount, 0, D3DPrimCount(glprim[prim], vertexCount));
|
||||
pD3Ddevice->DrawIndexedPrimitive(glprim[prim], 0, 0, maxIndex + 1, 0, D3DPrimCount(glprim[prim], vertexCount));
|
||||
} else {
|
||||
pD3Ddevice->DrawPrimitive(glprim[prim], 0, D3DPrimCount(glprim[prim], vertexCount));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue