mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-06-01 12:15:13 -06:00
change default graphic api values depending on what's enabled
This commit is contained in:
parent
b6bcb954c4
commit
53fe038e82
@ -430,7 +430,13 @@ struct CemuConfig
|
|||||||
ConfigValueBounds<CafeConsoleLanguage> console_language{ CafeConsoleLanguage::EN };
|
ConfigValueBounds<CafeConsoleLanguage> console_language{ CafeConsoleLanguage::EN };
|
||||||
|
|
||||||
// graphics
|
// graphics
|
||||||
|
#if defined(ENABLE_VULKAN)
|
||||||
ConfigValue<GraphicAPI> graphic_api{ kVulkan };
|
ConfigValue<GraphicAPI> graphic_api{ kVulkan };
|
||||||
|
#elif defined(ENABLE_METAL)
|
||||||
|
ConfigValue<GraphicAPI> graphic_api{ kMetal };
|
||||||
|
#elif defined(ENABLE_OPENGL)
|
||||||
|
ConfigValue<GraphicAPI> graphic_api{ kOpenGL };
|
||||||
|
#endif
|
||||||
std::array<uint8, 16> legacy_graphic_device_uuid{}; // placeholder option for backwards compatibility with settings from 2.6 and before (renamed to "vkDevice")
|
std::array<uint8, 16> legacy_graphic_device_uuid{}; // placeholder option for backwards compatibility with settings from 2.6 and before (renamed to "vkDevice")
|
||||||
std::array<uint8, 16> vk_graphic_device_uuid;
|
std::array<uint8, 16> vk_graphic_device_uuid;
|
||||||
uint64 mtl_graphic_device_uuid{ 0 };
|
uint64 mtl_graphic_device_uuid{ 0 };
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user