Merge pull request #20797 from jonkadelic/master

GEDebugger: fixed Verts tab displaying Invalid
This commit is contained in:
Henrik Rydgård
2025-09-05 10:31:20 +02:00
committed by GitHub
+1 -1
View File
@@ -169,7 +169,7 @@ int CtrlVertexList::GetRowCount() {
// TODO: Maybe there are smarter ways? Also, is this the best place to recalc?
auto state = gpuDebug->GetGState();
int rowCount_ = gpuDebug->GetCurrentPrimCount();
rowCount_ = gpuDebug->GetCurrentPrimCount();
if (!gpuDebug->GetCurrentDrawAsDebugVertices(rowCount_, vertices, indices)) {
rowCount_ = 0;
}