Skip to content

fix(example): initialize frame buffer with init_with#3

Merged
okhsunrog merged 1 commit intookhsunrog:masterfrom
m1racoli:fix-frame-buffer-init
Jan 5, 2026
Merged

fix(example): initialize frame buffer with init_with#3
okhsunrog merged 1 commit intookhsunrog:masterfrom
m1racoli:fix-frame-buffer-init

Conversation

@m1racoli
Copy link
Copy Markdown

This avoids errors when the frame buffer is too large to be moved from the stack. Instead the frame buffer is initialized in place (see docs).

This avoids errors when the frame buffer is too large to be moved from the stack.
Instead the frame buffer is initialized in place (see [docs](https://docs.rs/static_cell/latest/static_cell/struct.StaticCell.html#method.init_with)).
@okhsunrog
Copy link
Copy Markdown
Owner

Thanks!

@okhsunrog okhsunrog merged commit 50efe0a into okhsunrog:master Jan 5, 2026
8 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants