diff options
author | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2025-03-05 10:23:58 +0700 |
---|---|---|
committer | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2025-03-05 10:23:58 +0700 |
commit | ec4612427a5ce743ba0759227eaa422dd1ff9b0e (patch) | |
tree | 4b17557a63963a64241a4707fcc52f41c4612f88 /src/common.rs | |
parent | 9f25ab78396c155a6d73d7c5676d489d7ee66b76 (diff) |
upd switch display buffer to vec. large array somehow causing stack overflow in windows
Diffstat (limited to 'src/common.rs')
-rw-r--r-- | src/common.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.rs b/src/common.rs index 3e606b1..6cc5e83 100644 --- a/src/common.rs +++ b/src/common.rs @@ -142,5 +142,6 @@ impl Default for Pixel { } } -pub type DisplayBuffer = [[Pixel; IMG_WIDTH]; IMG_HEIGHT]; +// pub type DisplayBuffer = [[Pixel; IMG_WIDTH]; IMG_HEIGHT]; +pub type DisplayBuffer = Vec<Vec<Pixel>>; |