mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 22:43:49 +00:00
Process render commands 1 by 1 to allow pre-empting high frequency cmds
This commit is contained in:
1 parent
24c1042f06
commit
1e65762e93
4 files changed
+57
-22
No files matched your search
@@ -1889,7 +1889,7 @@ void BufferViewer::render_clicked(QMouseEvent *e)
|
||||
|
||||
if((e->buttons() & Qt::RightButton) && m_Output)
|
||||
{
|
||||
m_Ctx.Renderer().AsyncInvoke([this, curpos](IReplayRenderer *r) {
|
||||
m_Ctx.Renderer().AsyncInvoke("PickVertex", [this, curpos](IReplayRenderer *r) {
|
||||
uint32_t instanceSelected = 0;
|
||||
uint32_t vertSelected = m_Output->PickVertex(m_Ctx.CurEvent(), (uint32_t)curpos.x(),
|
||||
(uint32_t)curpos.y(), &instanceSelected);
|
||||
|
||||
Reference in new issue
Block a user