Use one texture with two channels for video

This commit is contained in:
2024-11-03 13:26:01 -05:00
parent 8fdff927eb
commit b025f72604
5 changed files with 25 additions and 42 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ impl Emulator {
}
pub fn run(&mut self) {
let mut eye_contents = [vec![0u8; 384 * 224], vec![0u8; 384 * 224]];
let mut eye_contents = vec![0u8; 384 * 224 * 2];
loop {
self.sim.emulate_frame();
if let Some(renderer) = &mut self.renderer {