mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix showing default display driver as OpenGL (force 1.x)
This commit is contained in:
parent
13b6adee56
commit
11d6ab7f9d
1
CHANGES
1
CHANGES
|
@ -30,6 +30,7 @@ Bugfixes:
|
||||||
- Qt: Fix patch loading
|
- Qt: Fix patch loading
|
||||||
- Qt: Fix crash when saving an override if a game isn't loaded
|
- Qt: Fix crash when saving an override if a game isn't loaded
|
||||||
- GB: Properly unload save files when unloading a ROM
|
- GB: Properly unload save files when unloading a ROM
|
||||||
|
- Qt: Fix showing default display driver as OpenGL (force 1.x)
|
||||||
Misc:
|
Misc:
|
||||||
- All: Only update version info if needed
|
- All: Only update version info if needed
|
||||||
- FFmpeg: Encoding cleanup
|
- FFmpeg: Encoding cleanup
|
||||||
|
|
|
@ -124,7 +124,7 @@ SettingsView::SettingsView(ConfigController* controller, InputController* inputC
|
||||||
|
|
||||||
#ifdef BUILD_GL
|
#ifdef BUILD_GL
|
||||||
m_ui.displayDriver->addItem(tr("OpenGL (force version 1.x)"), static_cast<int>(Display::Driver::OPENGL1));
|
m_ui.displayDriver->addItem(tr("OpenGL (force version 1.x)"), static_cast<int>(Display::Driver::OPENGL1));
|
||||||
if (displayDriver.isNull() || displayDriver.toInt() == static_cast<int>(Display::Driver::OPENGL1)) {
|
if (!displayDriver.isNull() && displayDriver.toInt() == static_cast<int>(Display::Driver::OPENGL1)) {
|
||||||
m_ui.displayDriver->setCurrentIndex(m_ui.displayDriver->count() - 1);
|
m_ui.displayDriver->setCurrentIndex(m_ui.displayDriver->count() - 1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue