mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Add developer setting to prevent loading overlays (and other 'implicit' Vulkan layers)
This commit is contained in:
1 parent
670ff21529
commit
67dfbfe97e
53 files changed
+80
-6
No files matched your search
@@ -31,6 +31,9 @@ static VulkanInitFlags FlagsFromConfig() {
|
||||
if (g_Validate) {
|
||||
flags |= VulkanInitFlags::VALIDATE;
|
||||
}
|
||||
if (g_Config.bVulkanDisableImplicitLayers) {
|
||||
flags |= VulkanInitFlags::DISABLE_IMPLICIT_LAYERS;
|
||||
}
|
||||
return flags;
|
||||
}
|
||||
|
||||
@@ -148,7 +151,7 @@ void AndroidVulkanContext::Resize() {
|
||||
g_Vulkan->DestroySwapchain();
|
||||
g_Vulkan->DestroySurface();
|
||||
|
||||
g_Vulkan->UpdateFlags(FlagsFromConfig());
|
||||
g_Vulkan->UpdateInitFlags(FlagsFromConfig());
|
||||
|
||||
g_Vulkan->ReinitSurface();
|
||||
g_Vulkan->InitSwapchain();
|
||||
|
||||
Reference in new issue
Block a user