mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 18:11:27 -07:00
Auto set Vulkan window minimize fix flag
This commit is contained in:
parent
22e1623d23
commit
d96df87006
@ -114,6 +114,11 @@ namespace Bloxstrap.Singletons
|
|||||||
|
|
||||||
if (value != "Automatic")
|
if (value != "Automatic")
|
||||||
SetValue(RenderingModes[value], "True");
|
SetValue(RenderingModes[value], "True");
|
||||||
|
|
||||||
|
if (value == "Vulkan")
|
||||||
|
SetValue("FFlagRenderVulkanFixMinimizeWindow", "True");
|
||||||
|
else if (GetValue("FFlagRenderVulkanFixMinimizeWindow") is not null)
|
||||||
|
SetValue("FFlagRenderVulkanFixMinimizeWindow", null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Load()
|
public override void Load()
|
||||||
@ -124,6 +129,9 @@ namespace Bloxstrap.Singletons
|
|||||||
if (GetValue("DFIntTaskSchedulerTargetFps") is null)
|
if (GetValue("DFIntTaskSchedulerTargetFps") is null)
|
||||||
SetValue("DFIntTaskSchedulerTargetFps", 9999);
|
SetValue("DFIntTaskSchedulerTargetFps", 9999);
|
||||||
|
|
||||||
|
if (GetValue("FFlagDebugGraphicsPreferVulkan") == "True" && GetValue("FFlagRenderVulkanFixMinimizeWindow") is null)
|
||||||
|
SetValue("FFlagRenderVulkanFixMinimizeWindow", "True");
|
||||||
|
|
||||||
// exclusive fullscreen requires direct3d 10/11 to work
|
// exclusive fullscreen requires direct3d 10/11 to work
|
||||||
if (App.FastFlags.GetValue("FFlagHandleAltEnterFullscreenManually") == "False")
|
if (App.FastFlags.GetValue("FFlagHandleAltEnterFullscreenManually") == "False")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user