mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-19 18:41:13 +00:00
Make sure public function is properly invoked :)
This commit is contained in:
1 parent
9907abcc9b
commit
1c306fb155
1 file changed
+6
@@ -421,6 +421,12 @@ namespace renderdocui.Windows
|
||||
|
||||
public void ViewTexture(ResourceId ID, bool focus)
|
||||
{
|
||||
if (this.InvokeRequired)
|
||||
{
|
||||
this.BeginInvoke(new Action(() => { this.ViewTexture(ID, focus); }));
|
||||
return;
|
||||
}
|
||||
|
||||
TextureViewer_Load(null, null);
|
||||
|
||||
if (lockedTabs.ContainsKey(ID))
|
||||
|
||||
Reference in new issue
Block a user