mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
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:
1 parent
ddc16c9227
commit
202260de0d
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user