renderer_vulkan: Support loading Vulkan layers on macOS SDL build. (#2832)

This commit is contained in:
squidbus
2025-04-23 01:10:03 -07:00
committed by GitHub
parent ee7fe305c9
commit 53ca64f6ff
8 changed files with 58 additions and 45 deletions

View File

@@ -88,7 +88,7 @@ static std::optional<std::filesystem::path> GetBundleParentDirectory() {
#endif
static auto UserPaths = [] {
#ifdef __APPLE__
#if defined(__APPLE__) && defined(ENABLE_QT_GUI)
// Set the current path to the directory containing the app bundle.
if (const auto bundle_dir = GetBundleParentDirectory()) {
std::filesystem::current_path(*bundle_dir);