From 9113f66d5804dec064870149560b53651d3648d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=A4rtens?= Date: Fri, 3 Feb 2023 19:28:55 +0100 Subject: [PATCH] allow more FPS values --- voxygen/src/hud/settings_window/video.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/voxygen/src/hud/settings_window/video.rs b/voxygen/src/hud/settings_window/video.rs index a53b73b597..0d6af44529 100644 --- a/voxygen/src/hud/settings_window/video.rs +++ b/voxygen/src/hud/settings_window/video.rs @@ -172,8 +172,11 @@ pub struct State { // Resolution, Bit Depth and Refresh Rate video_modes: Vec, } -const FPS_CHOICES: [Fps; 17] = [ +const FPS_CHOICES: [Fps; 20] = [ + Fps::Max(5), + Fps::Max(10), Fps::Max(15), + Fps::Max(20), Fps::Max(30), Fps::Max(40), Fps::Max(50), @@ -191,7 +194,8 @@ const FPS_CHOICES: [Fps; 17] = [ Fps::Max(500), Fps::Unlimited, ]; -const BG_FPS_CHOICES: [Fps; 20] = [ +const BG_FPS_CHOICES: [Fps; 21] = [ + Fps::Max(1), Fps::Max(5), Fps::Max(10), Fps::Max(15),