diff --git a/tetanes-core/src/video.rs b/tetanes-core/src/video.rs index c3890f2b..1b55c3a0 100644 --- a/tetanes-core/src/video.rs +++ b/tetanes-core/src/video.rs @@ -59,8 +59,8 @@ impl Frame { /// Allocate a new frame for video output. pub fn new() -> Self { Self( - [(); Self::SIZE] - .iter() + [(); Self::SIZE / 4] + .into_iter() .flat_map(|_| [0, 0, 0, 255]) .collect(), )