Default to max framerate if not configured

This commit is contained in:
Patrick Nicolas
2025-03-19 18:39:01 +01:00
parent 119e0a4336
commit 7b513b7ce4
7 changed files with 139 additions and 107 deletions
+2 -1
View File
@@ -24,6 +24,7 @@
#include <map>
#include <mutex>
#include <optional>
#include <string>
namespace xr
@@ -45,7 +46,7 @@ public:
};
std::map<std::string, server_data> servers;
float preferred_refresh_rate = 0;
std::optional<float> preferred_refresh_rate;
float resolution_scale = 1.4;
bool show_performance_metrics = false;
bool passthrough_enabled = false;