citra_qt: Fix per-game graphics api option

* This was a pain to implement due to the sheer amount of combinations. I hope there aren't any bugs...
This commit is contained in:
GPUCode
2023-03-12 00:06:17 +02:00
parent eb8b463ca8
commit 12a5265db1
6 changed files with 139 additions and 54 deletions

View File

@ -199,6 +199,8 @@ void RestoreGlobalState(bool is_powered_on) {
// Renderer
values.use_hw_renderer.SetGlobal(true);
values.use_hw_shader.SetGlobal(true);
values.graphics_api.SetGlobal(true);
values.physical_device.SetGlobal(true);
values.separable_shader.SetGlobal(true);
values.async_shader_compilation.SetGlobal(true);
values.use_disk_shader_cache.SetGlobal(true);