Skip to content
Permalink
Browse files

Vulkan: Show backend as Vulkan (MoltenVK) on macOS

  • Loading branch information...
spycrab committed Mar 6, 2019
1 parent b8bcfe6 commit a5534ec950d4f7639b3204ab1ef14429e6f175af
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 a5534ec

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