mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Update vulkan layer banner on first shown
* Prevents an ordering issue where the --updatedone installation of the layer happens after the capture dialog first checks layer registration
This commit is contained in:
@@ -721,6 +721,7 @@
|
||||
this.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.Document;
|
||||
this.Text = "CaptureDialog";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.CaptureDialog_FormClosing);
|
||||
this.Shown += new System.EventHandler(this.CaptureDialog_Shown);
|
||||
this.actionsGroup.ResumeLayout(false);
|
||||
this.actionsGroup.PerformLayout();
|
||||
this.actionsFlow.ResumeLayout(false);
|
||||
|
||||
@@ -480,6 +480,11 @@ namespace renderdocui.Windows.Dialogs
|
||||
}
|
||||
}
|
||||
|
||||
private void CaptureDialog_Shown(object sender, EventArgs e)
|
||||
{
|
||||
vulkanLayerWarn.Visible = !Helpers.CheckVulkanLayerRegistration();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private void capOptsGroup_Layout(object sender, LayoutEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user