mirror of
https://github.com/PabloMK7/citra.git
synced 2024-12-29 19:16:13 +00:00
citra_qt: fix vsync configuration being possible while a game is running
This commit is contained in:
parent
041252ba36
commit
4e0f78dfa0
|
@ -119,7 +119,8 @@ void ConfigureGraphics::SetupPerGameUI() {
|
|||
ui->toggle_accurate_mul->setEnabled(Settings::values.shaders_accurate_mul.UsingGlobal());
|
||||
ui->toggle_disk_shader_cache->setEnabled(
|
||||
Settings::values.use_disk_shader_cache.UsingGlobal());
|
||||
ui->toggle_vsync_new->setEnabled(Settings::values.use_vsync_new.UsingGlobal());
|
||||
ui->toggle_vsync_new->setEnabled(ui->toggle_vsync_new->isEnabled() &&
|
||||
Settings::values.use_vsync_new.UsingGlobal());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue