Changed: Don't check for D3D radio button under other OSes

This commit is contained in:
kervala 2013-09-29 13:51:43 +02:00
parent 49550556ac
commit 43cb482d7e

View file

@ -103,8 +103,10 @@ void CDisplaySettingsWidget::save()
if( openglRadioButton->isChecked() )
s.config.setString( "Driver3D", std::string( "OpenGL" ) );
#ifdef Q_OS_WIN32
else if( direct3dRadioButton->isChecked() )
s.config.setString( "Driver3D", std::string( "Direct3D" ) );
#endif
else
s.config.setString( "Driver3D", std::string( "Auto" ) );