aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Brown <themagnificentmrb@gmail.com>2018-03-16 09:55:48 -0700
committerGarrett Brown <themagnificentmrb@gmail.com>2018-03-30 10:46:13 -0700
commitfcdea1977fdb652194713f9dbd806da1903499dd (patch)
treec05a5e3b7e85b44e78d8f4d6fabe5647cba777c1
parente0e0307c07a89e65fb0a9f49eec66d4f6fb456db (diff)
Cleanup: Fix early return
-rw-r--r--xbmc/guilib/StereoscopicsManager.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/xbmc/guilib/StereoscopicsManager.cpp b/xbmc/guilib/StereoscopicsManager.cpp
index eddb3a8ea8..2f3f1820ea 100644
--- a/xbmc/guilib/StereoscopicsManager.cpp
+++ b/xbmc/guilib/StereoscopicsManager.cpp
@@ -153,9 +153,8 @@ void CStereoscopicsManager::SetStereoMode(const RENDER_STEREO_MODE &mode)
if (applyMode != currentMode && applyMode >= RENDER_STEREO_MODE_OFF)
{
- if (!CServiceBroker::GetRenderSystem().SupportsStereo(applyMode))
- return;
- m_settings.SetInt(CSettings::SETTING_VIDEOSCREEN_STEREOSCOPICMODE, applyMode);
+ if (CServiceBroker::GetRenderSystem().SupportsStereo(applyMode))
+ m_settings.SetInt(CSettings::SETTING_VIDEOSCREEN_STEREOSCOPICMODE, applyMode);
}
}