mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-19 17:29:06 +02:00
Expand primitives: Check the vertex count too.
Still getting a few crashes, let's get rid of the last of them from this, hopefully.
This commit is contained in:
1 parent
f9fff4227f
commit
cb79783539
6 files changed
+26
-15
No files matched your search
@@ -431,7 +431,7 @@ void DrawEngineVulkan::DoFlush() {
|
||||
|
||||
if (result.action == SW_NOT_READY) {
|
||||
// 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);
|
||||
swTransform.BuildDrawingParams(prim, vertexCount, dec_->VertexType(), inds, RemainingIndices(inds), numDecodedVerts_, VERTEX_BUFFER_MAX, &result);
|
||||
}
|
||||
|
||||
if (result.setSafeSize)
|
||||
|
||||
Reference in new issue
Block a user