Fix logic in video settings popup

This commit is contained in:
Marianne Gagnon
2014-08-12 19:18:38 -04:00
parent 03a6499c27
commit 345a3bc451

View File

@@ -83,7 +83,7 @@ void CustomVideoSettingsDialog::beforeAddingWidgets()
shadows->addLabel( _("Disabled") ); // 0
shadows->addLabel( _("low") ); // 1
shadows->addLabel( _("high") ); // 2
if (irr_driver->needUBOWorkaround())
if (!irr_driver->needUBOWorkaround())
shadows->setValue(UserConfigParams::m_shadows);
else
shadows->setValue(0);