Open doinkythederp opened 3 months ago
After using Screen::set_render_mode to set the render mode to DoubleBuffered, graphical panic messages will not appear and it will appear as if the program is frozen upon a panic.
Screen::set_render_mode
DoubleBuffered
#![no_std] #![no_main] use vexide::prelude::*; #[vexide::main] async fn main(mut p: Peripherals) { p.screen.set_render_mode(vexide::devices::screen::RenderMode::DoubleBuffered); panic!("something failed"); }
The panic message should appear on screen in a red box, but instead nothing appears at all.
Cargo.toml
259590b0e06c60b0662d5e871a25abbea4ff4984
vexDisplayRender
Bug Description
After using
Screen::set_render_mode
to set the render mode toDoubleBuffered
, graphical panic messages will not appear and it will appear as if the program is frozen upon a panic.Code to reproduce
Expected vs. actual behavior
The panic message should appear on screen in a red box, but instead nothing appears at all.
Additional information
Cargo.toml
):259590b0e06c60b0662d5e871a25abbea4ff4984
vexDisplayRender
in the panic handler.