mirror of
https://github.com/citra-emu/citra-nightly.git
synced 2024-12-23 20:15:29 +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_accurate_mul->setEnabled(Settings::values.shaders_accurate_mul.UsingGlobal());
|
||||||
ui->toggle_disk_shader_cache->setEnabled(
|
ui->toggle_disk_shader_cache->setEnabled(
|
||||||
Settings::values.use_disk_shader_cache.UsingGlobal());
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue