diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-05-02 02:22:37 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-05-03 03:51:30 +0200 |
commit | 2528cf7c5416573fc8bf2e9316a3acc5a2395b79 (patch) | |
tree | ed466890c85291023d955541a903c492e32f3eac /src/common/settings.h | |
parent | configure_graphics: Fix another typo (diff) | |
download | yuzu-2528cf7c5416573fc8bf2e9316a3acc5a2395b79.tar yuzu-2528cf7c5416573fc8bf2e9316a3acc5a2395b79.tar.gz yuzu-2528cf7c5416573fc8bf2e9316a3acc5a2395b79.tar.bz2 yuzu-2528cf7c5416573fc8bf2e9316a3acc5a2395b79.tar.lz yuzu-2528cf7c5416573fc8bf2e9316a3acc5a2395b79.tar.xz yuzu-2528cf7c5416573fc8bf2e9316a3acc5a2395b79.tar.zst yuzu-2528cf7c5416573fc8bf2e9316a3acc5a2395b79.zip |
Diffstat (limited to '')
-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 @@ namespace Settings { enum class VSyncMode : u32 { - Immediate, - FIFO, - Mailbox, + Immediate = 0, + Mailbox = 1, + FIFO = 2, + FIFORelaxed = 3, }; enum class RendererBackend : u32 { @@ -461,8 +462,8 @@ struct Values { SwitchableSetting<NvdecEmulation> nvdec_emulation{NvdecEmulation::GPU, "nvdec_emulation"}; SwitchableSetting<bool> accelerate_astc{true, "accelerate_astc"}; SwitchableSetting<bool> async_astc{false, "async_astc"}; - Setting<VSyncMode, true> vsync_mode{VSyncMode::FIFO, VSyncMode::Immediate, VSyncMode::Mailbox, - "use_vsync"}; + Setting<VSyncMode, true> vsync_mode{VSyncMode::FIFO, VSyncMode::Immediate, + VSyncMode::FIFORelaxed, "use_vsync"}; SwitchableSetting<ShaderBackend, true> shader_backend{ShaderBackend::GLSL, ShaderBackend::GLSL, ShaderBackend::SPIRV, "shader_backend"}; SwitchableSetting<bool> use_asynchronous_shaders{false, "use_asynchronous_shaders"}; |