mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-26 13:05:34 -06:00
wrap this switch in braces
This commit is contained in:
parent
5d185dc203
commit
d65d6d26b8
@ -1743,6 +1743,7 @@ void GeneralSettings2::HandleGraphicsApiSelection()
|
||||
{
|
||||
#ifdef ENABLE_OPENGL
|
||||
case GraphicAPI::kOpenGL:
|
||||
{
|
||||
// OpenGL
|
||||
m_vsync->AppendString(_("Off"));
|
||||
m_vsync->AppendString(_("On"));
|
||||
@ -1760,9 +1761,11 @@ void GeneralSettings2::HandleGraphicsApiSelection()
|
||||
m_force_mesh_shaders->Disable();
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
#ifdef ENABLE_VULKAN
|
||||
case GraphicAPI::kVulkan:
|
||||
{
|
||||
// Vulkan
|
||||
m_gx2drawdone_sync->Disable();
|
||||
m_async_compile->Enable();
|
||||
@ -1801,9 +1804,11 @@ void GeneralSettings2::HandleGraphicsApiSelection()
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
#if ENABLE_METAL
|
||||
case GraphicAPI::kMetal:
|
||||
{
|
||||
// Metal
|
||||
m_gx2drawdone_sync->Disable();
|
||||
m_async_compile->Enable();
|
||||
@ -1838,6 +1843,7 @@ void GeneralSettings2::HandleGraphicsApiSelection()
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user