Default fps to 30

This commit is contained in:
2026-03-08 20:10:00 +01:00
parent ec7c6da27b
commit 9b22f0639c
+1 -1
View File
@@ -863,7 +863,7 @@ pub fn main() u8 {
var shared_memory_pool_data: []u8 = undefined;
var wl_buffer: *c.wl_buffer = undefined;
const monitor_update_hz: f64 = 144;
const monitor_update_hz: f64 = 30;
const game_update_hz: f64 = monitor_update_hz;
const frame_target_time_s: f64 = 1.0 / game_update_hz;
const frame_target_time_ms: f64 = std.time.ms_per_s * frame_target_time_s;