diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-12-21 16:53:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 16:53:06 +0100 |
commit | 3d268b84809813114c7e54420c53ff6e9a981996 (patch) | |
tree | 55ca02488b3177b9e1787bf876e3fb15279b3451 /src/yuzu/configuration/configure_graphics.h | |
parent | Merge pull request #12425 from german77/temp-fix (diff) | |
parent | qt: settings: Fix per-game vsync combobox (diff) | |
download | yuzu-3d268b84809813114c7e54420c53ff6e9a981996.tar yuzu-3d268b84809813114c7e54420c53ff6e9a981996.tar.gz yuzu-3d268b84809813114c7e54420c53ff6e9a981996.tar.bz2 yuzu-3d268b84809813114c7e54420c53ff6e9a981996.tar.lz yuzu-3d268b84809813114c7e54420c53ff6e9a981996.tar.xz yuzu-3d268b84809813114c7e54420c53ff6e9a981996.tar.zst yuzu-3d268b84809813114c7e54420c53ff6e9a981996.zip |
Diffstat (limited to 'src/yuzu/configuration/configure_graphics.h')
-rw-r--r-- | src/yuzu/configuration/configure_graphics.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_graphics.h b/src/yuzu/configuration/configure_graphics.h index 9c24a56db..5c8286836 100644 --- a/src/yuzu/configuration/configure_graphics.h +++ b/src/yuzu/configuration/configure_graphics.h @@ -62,7 +62,8 @@ private: void Setup(const ConfigurationShared::Builder& builder); - void PopulateVSyncModeSelection(); + void PopulateVSyncModeSelection(bool use_setting); + void UpdateVsyncSetting() const; void UpdateBackgroundColorButton(QColor color); void UpdateAPILayout(); void UpdateDeviceSelection(int device); @@ -104,6 +105,7 @@ private: QComboBox* api_combobox; QComboBox* shader_backend_combobox; QComboBox* vsync_mode_combobox; + QPushButton* vsync_restore_global_button; QWidget* vulkan_device_widget; QWidget* api_widget; QWidget* shader_backend_widget; |