GEDebugger: fixed Verts tab displaying Invalid

Resolves an issue where the Verts tab on the GE Debugger consistently
displays "Invalid" for all vertex values. This was due to rowCount_ in
TabVertices being left uninitialized.
This commit is contained in:
jonkadelic committed 2025-09-05 08:30:23 +02:00
1 parent ddc16c9227
commit 202260de0d
1 file changed
+1 -1
+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;
}