- commit
- 1ca9fd2701689bbcec0cf9eda1333565d1fe3795
- parent
- 4d33c514f5dc647d38702ff8fe41f190d4f599d5
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-04-06 13:43
reduce frame rate to 25Hz
Diffstat
| M | src/main.rs | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
@@ -12,7 +12,7 @@ mod win; 12 12 use std::sync::atomic::{AtomicBool, Ordering}; 13 13 use std::{thread, time}; 14 1415 -1 const TICK: time::Duration = time::Duration::from_millis(33);-1 15 const TICK: time::Duration = time::Duration::from_millis(40); 16 16 17 17 const BLACK: [u8; 3] = [0x00, 0x00, 0x00]; 18 18 const RED: [u8; 3] = [0xff, 0x00, 0x00];