mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 23:29:17 +00:00
VideoConfig: Make StereoMode an enum class
Makes for more strongly-typed identifiers (and doesn't pollute surrounding namespaces)
This commit is contained in:
parent
10697bcbe3
commit
5337e58284
25 changed files with 78 additions and 74 deletions
|
@ -253,7 +253,7 @@ bool FramebufferManager::CreateEFBFramebuffer()
|
|||
{
|
||||
u32 efb_width = static_cast<u32>(std::max(g_renderer->GetTargetWidth(), 1));
|
||||
u32 efb_height = static_cast<u32>(std::max(g_renderer->GetTargetHeight(), 1));
|
||||
u32 efb_layers = (g_ActiveConfig.iStereoMode != STEREO_OFF) ? 2 : 1;
|
||||
u32 efb_layers = (g_ActiveConfig.stereo_mode != StereoMode::Off) ? 2 : 1;
|
||||
VkSampleCountFlagBits efb_samples =
|
||||
static_cast<VkSampleCountFlagBits>(g_ActiveConfig.iMultisamples);
|
||||
INFO_LOG(VIDEO, "EFB size: %ux%ux%u", efb_width, efb_height, efb_layers);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue