Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
camdenorrb committed Dec 14, 2024
1 parent 8a35be3 commit 9898ab4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Common/Logging/LogManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ void LogManager::SaveSettings()

for (const auto& container : m_log)
{
const Config::Info<bool> info{{Config::System::Logger, "Logs", container.m_short_name}, false};
const Config::Info<bool> info{{Config::System::Logger, "Logs", container.m_short_name}, true};
Config::SetBaseOrCurrent(info, container.m_enable);
}

Expand Down
14 changes: 14 additions & 0 deletions Source/Core/VideoBackends/Vulkan/VulkanContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,20 @@ bool VulkanContext::SelectInstanceExtensions(std::vector<const char*>* extension
return false;
}
#endif

#if defined(VK_USE_PLATFORM_DISPLAY_KHR)
if (wstype == WindowSystemType::DRM)
{
if (!AddExtension(VK_KHR_DISPLAY_EXTENSION_NAME, true))
{
return false;
}
if (!AddExtension(VK_KHR_SURFACE_EXTENSION_NAME, true))
{
return false;
}
}
#endif
#if defined(VK_USE_PLATFORM_ANDROID_KHR)
if (wstype == WindowSystemType::Android &&
!AddExtension(VK_KHR_ANDROID_SURFACE_EXTENSION_NAME, true))
Expand Down

0 comments on commit 9898ab4

Please sign in to comment.