mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 03:09:08 +00:00
Changed: Don't check for D3D radio button under other OSes
This commit is contained in:
parent
d5e0997fb7
commit
d56ee6e9d5
1 changed files with 2 additions and 0 deletions
|
@ -103,8 +103,10 @@ void CDisplaySettingsWidget::save()
|
||||||
|
|
||||||
if( openglRadioButton->isChecked() )
|
if( openglRadioButton->isChecked() )
|
||||||
s.config.setString( "Driver3D", std::string( "OpenGL" ) );
|
s.config.setString( "Driver3D", std::string( "OpenGL" ) );
|
||||||
|
#ifdef Q_OS_WIN32
|
||||||
else if( direct3dRadioButton->isChecked() )
|
else if( direct3dRadioButton->isChecked() )
|
||||||
s.config.setString( "Driver3D", std::string( "Direct3D" ) );
|
s.config.setString( "Driver3D", std::string( "Direct3D" ) );
|
||||||
|
#endif
|
||||||
else
|
else
|
||||||
s.config.setString( "Driver3D", std::string( "Auto" ) );
|
s.config.setString( "Driver3D", std::string( "Auto" ) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue