mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Pass the limit on the number of indices to generate to BuildDrawingParams.
This commit is contained in:
1 parent
cf5d76faf5
commit
db94b0b696
8 files changed
+24
-19
No files matched your search
@@ -430,7 +430,8 @@ void DrawEngineVulkan::DoFlush() {
|
||||
result.action = SW_NOT_READY;
|
||||
|
||||
if (result.action == SW_NOT_READY) {
|
||||
swTransform.BuildDrawingParams(prim, vertexCount, dec_->VertexType(), inds, numDecodedVerts_, &result);
|
||||
// decIndex_ here is always equal to inds currently, but it may not be in the future.
|
||||
swTransform.BuildDrawingParams(prim, vertexCount, dec_->VertexType(), inds, RemainingIndices(inds), numDecodedVerts_, &result);
|
||||
}
|
||||
|
||||
if (result.setSafeSize)
|
||||
|
||||
Reference in new issue
Block a user