From 0ad39d54c80f73fff4d4886c470176a5afa657ca Mon Sep 17 00:00:00 2001 From: Rosyid Haryadi Date: Sat, 8 Mar 2025 22:06:14 +0700 Subject: replace DisplayBuffer from Vec to Box --- src/common.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common.rs') diff --git a/src/common.rs b/src/common.rs index 6cc5e83..a757ad8 100644 --- a/src/common.rs +++ b/src/common.rs @@ -142,6 +142,6 @@ impl Default for Pixel { } } -// pub type DisplayBuffer = [[Pixel; IMG_WIDTH]; IMG_HEIGHT]; -pub type DisplayBuffer = Vec>; +pub type DisplayBuffer = [[Pixel; IMG_WIDTH]; IMG_HEIGHT]; +// pub type DisplayBuffer = Vec>; -- cgit v1.2.3-70-g09d2