mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-07 13:37:46 +00:00
RSX Debugger: populate Captured Draw Calls list
The constructor inserted rows into m_list_captured_frame for the command queue but never did the same for m_list_captured_draw_calls. GetMemory()'s setItem() loop for draw calls then no-op'd on missing rows, so the Captured Draw Calls tab always appeared empty after a frame capture.
This commit is contained in:
parent
96f73f4497
commit
7028e85fac
1 changed files with 4 additions and 0 deletions
|
|
@ -259,6 +259,10 @@ rsx_debugger::rsx_debugger(std::shared_ptr<gui_settings> gui_settings, QWidget*
|
|||
for (u32 i = 0; i < frame_debug.command_queue.size(); i++)
|
||||
m_list_captured_frame->insertRow(i);
|
||||
|
||||
// Fill the draw calls
|
||||
for (u32 i = 0; i < frame_debug.draw_calls.size(); i++)
|
||||
m_list_captured_draw_calls->insertRow(i);
|
||||
|
||||
restoreGeometry(m_gui_settings->GetValue(gui::rsx_geometry).toByteArray());
|
||||
|
||||
// Check for updates every ~100 ms
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue