mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-15 23:23:14 +00:00
renderer_vulkan: Support loading Vulkan layers on macOS SDL build. (#2832)
This commit is contained in:
parent
ee7fe305c9
commit
53ca64f6ff
8 changed files with 58 additions and 45 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue