Default fps to 30
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user