mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-12 17:51:02 +00:00
Process render commands 1 by 1 to allow pre-empting high frequency cmds
This commit is contained in:
@@ -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