diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/settings.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index 2371495e4..c0faa7406 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -17,9 +17,10 @@ | |||
| 17 | namespace Settings { | 17 | namespace Settings { |
| 18 | 18 | ||
| 19 | enum class VSyncMode : u32 { | 19 | enum class VSyncMode : u32 { |
| 20 | Immediate, | 20 | Immediate = 0, |
| 21 | FIFO, | 21 | Mailbox = 1, |
| 22 | Mailbox, | 22 | FIFO = 2, |
| 23 | FIFORelaxed = 3, | ||
| 23 | }; | 24 | }; |
| 24 | 25 | ||
| 25 | enum class RendererBackend : u32 { | 26 | enum class RendererBackend : u32 { |
| @@ -461,8 +462,8 @@ struct Values { | |||
| 461 | SwitchableSetting<NvdecEmulation> nvdec_emulation{NvdecEmulation::GPU, "nvdec_emulation"}; | 462 | SwitchableSetting<NvdecEmulation> nvdec_emulation{NvdecEmulation::GPU, "nvdec_emulation"}; |
| 462 | SwitchableSetting<bool> accelerate_astc{true, "accelerate_astc"}; | 463 | SwitchableSetting<bool> accelerate_astc{true, "accelerate_astc"}; |
| 463 | SwitchableSetting<bool> async_astc{false, "async_astc"}; | 464 | SwitchableSetting<bool> async_astc{false, "async_astc"}; |
| 464 | Setting<VSyncMode, true> vsync_mode{VSyncMode::FIFO, VSyncMode::Immediate, VSyncMode::Mailbox, | 465 | Setting<VSyncMode, true> vsync_mode{VSyncMode::FIFO, VSyncMode::Immediate, |
| 465 | "use_vsync"}; | 466 | VSyncMode::FIFORelaxed, "use_vsync"}; |
| 466 | SwitchableSetting<ShaderBackend, true> shader_backend{ShaderBackend::GLSL, ShaderBackend::GLSL, | 467 | SwitchableSetting<ShaderBackend, true> shader_backend{ShaderBackend::GLSL, ShaderBackend::GLSL, |
| 467 | ShaderBackend::SPIRV, "shader_backend"}; | 468 | ShaderBackend::SPIRV, "shader_backend"}; |
| 468 | SwitchableSetting<bool> use_asynchronous_shaders{false, "use_asynchronous_shaders"}; | 469 | SwitchableSetting<bool> use_asynchronous_shaders{false, "use_asynchronous_shaders"}; |