mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-09 00:25:04 -06: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
@ -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++)
|
for (u32 i = 0; i < frame_debug.command_queue.size(); i++)
|
||||||
m_list_captured_frame->insertRow(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());
|
restoreGeometry(m_gui_settings->GetValue(gui::rsx_geometry).toByteArray());
|
||||||
|
|
||||||
// Check for updates every ~100 ms
|
// Check for updates every ~100 ms
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user