mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-26 04:45:18 -06:00
fix #if in activesettings
This commit is contained in:
parent
d63551c3ca
commit
0bd8c2f061
@ -110,11 +110,11 @@ GraphicAPI ActiveSettings::GetGraphicsAPI()
|
||||
{
|
||||
GraphicAPI api = g_current_game_profile->GetGraphicsAPI().value_or(GetConfig().graphic_api);
|
||||
|
||||
#ifdef ENABLE_VULKAN && HAS_OPENGL
|
||||
#if defined(ENABLE_VULKAN) && defined(ENABLE_OPENGL)
|
||||
// check if vulkan even available
|
||||
if (api == kVulkan && !g_vulkan_available)
|
||||
api = kOpenGL;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
return api;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user