Skip to content
Permalink
Browse files

Merge pull request #7860 from spycrab/vulkan_moltenvk_name

Vulkan: Show backend as Vulkan (MoltenVK) on macOS
  • Loading branch information...
Tilka committed Mar 6, 2019
2 parents b8bcfe6 + a5534ec commit 668b7eec8f9d2d9a9937c98a04b42b8e1373e591
Showing with 8 additions and 1 deletion.
  1. +8 −1 Source/Core/VideoBackends/Vulkan/VideoBackend.h
@@ -16,7 +16,14 @@ class VideoBackend : public VideoBackendBase
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;
};

0 comments on commit 668b7ee

Please sign in to comment.
You can’t perform that action at this time.