mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Make sure public function is properly invoked :)
This commit is contained in:
@@ -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