mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
renderer_vulkan: Support loading Vulkan layers on macOS SDL build. (#2832)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user