Skip to content

Commit

Permalink
fix: fixed video frame size
Browse files Browse the repository at this point in the history
  • Loading branch information
lukexor committed Oct 14, 2024
1 parent 63e31a9 commit 153094d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tetanes-core/src/video.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
)
Expand Down

0 comments on commit 153094d

Please sign in to comment.