mirror of https://git.suyu.dev/suyu/suyu
Fixed crash when changing per-game backend from null
This commit is contained in:
parent
53ad973d6a
commit
dfa2204aa2
|
@ -225,7 +225,7 @@ void ConfigureGraphics::PopulateVSyncModeSelection(bool use_setting) {
|
|||
|
||||
void ConfigureGraphics::UpdateVsyncSetting() const {
|
||||
const Settings::RendererBackend backend{GetCurrentGraphicsBackend()};
|
||||
if (backend == Settings::RendererBackend::Null) {
|
||||
if (backend == Settings::RendererBackend::Null || vsync_mode_combobox_enum_map.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue