diff options
author | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2025-03-08 22:06:14 +0700 |
---|---|---|
committer | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2025-03-08 22:06:14 +0700 |
commit | 0ad39d54c80f73fff4d4886c470176a5afa657ca (patch) | |
tree | a792107421069450bc42981b0e705abaa51888d7 /src/common.rs | |
parent | 37ad7021312085b6e373317b6bda2b19f76fe0cb (diff) |
replace DisplayBuffer from Vec to Boxmain
Diffstat (limited to 'src/common.rs')
-rw-r--r-- | src/common.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<Vec<Pixel>>; +pub type DisplayBuffer = [[Pixel; IMG_WIDTH]; IMG_HEIGHT]; +// pub type DisplayBuffer = Vec<Vec<Pixel>>; |