Vulkan: Show backend as Vulkan (MoltenVK) on macOS

This commit is contained in:
spycrab 2019-03-06 15:25:54 +01:00
parent b8bcfe6865
commit a5534ec950

View File

@ -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;
};