mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 06:56:40 +00:00
Fix potential crash with TreeListView.InvokeRequired not being right
This commit is contained in:
@@ -158,7 +158,7 @@ namespace renderdocui.Controls
|
||||
|
||||
private void SetVariables(ShaderVariable[] vars)
|
||||
{
|
||||
if (variables.InvokeRequired)
|
||||
if (this.InvokeRequired)
|
||||
{
|
||||
this.BeginInvoke(new Action(() => { SetVariables(vars); }));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user