mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +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
|
@ -41,7 +41,7 @@ void GeometryShaderManager::Dirty()
|
|||
|
||||
void GeometryShaderManager::SetConstants()
|
||||
{
|
||||
if (s_projection_changed && g_ActiveConfig.iStereoMode > 0)
|
||||
if (s_projection_changed && g_ActiveConfig.stereo_mode != StereoMode::Off)
|
||||
{
|
||||
s_projection_changed = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue