mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 14:24:54 +00:00
Merge pull request #7860 from spycrab/vulkan_moltenvk_name
Vulkan: Show backend as Vulkan (MoltenVK) on macOS
This commit is contained in:
commit
668b7eec8f
1 changed files with 8 additions and 1 deletions
|
@ -16,7 +16,14 @@ public:
|
|||
void Shutdown() override;
|
||||
|
||||
std::string GetName() const override { return "Vulkan"; }
|
||||
std::string GetDisplayName() const override { return _trans("Vulkan"); }
|
||||
std::string GetDisplayName() const override
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
return _trans("Vulkan (MoltenVK)");
|
||||
#else
|
||||
return _trans("Vulkan");
|
||||
#endif
|
||||
}
|
||||
void InitBackendInfo() override;
|
||||
void PrepareWindow(const WindowSystemInfo& wsi) override;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue