Set default graphics API to Vulkan on Windows

This commit is contained in:
Luke Street 2021-01-23 21:16:19 -05:00
parent 55d44ab65f
commit b7405b76ec
2 changed files with 2 additions and 4 deletions

2
hecl/extern/boo vendored

@ -1 +1 @@
Subproject commit 6faff77f86381dee6ace365aa2f8105cae4c5cd1 Subproject commit 74aaa605f3d3089eb6872ee3ad8daedfc8163c54

View File

@ -13,9 +13,7 @@ namespace hecl {
using namespace std::literals; using namespace std::literals;
#ifdef _WIN32 #if defined(__APPLE__)
#define DEFAULT_GRAPHICS_API "D3D11"sv
#elif defined(__APPLE__)
#define DEFAULT_GRAPHICS_API "Metal"sv #define DEFAULT_GRAPHICS_API "Metal"sv
#else #else
#define DEFAULT_GRAPHICS_API "Vulkan"sv #define DEFAULT_GRAPHICS_API "Vulkan"sv