add hook on bao-video to handle the qr_render case

This commit is contained in:
bunnie 2025-12-07 19:01:00 +08:00
parent 6ecaa36d98
commit c813aa1b92

View file

@ -702,6 +702,9 @@ pub fn wrapped_main(main_thread_token: MainThreadToken) -> ! {
}
// no failure if it's not
}
GfxOpcode::RenderQr => {
minigfx::handlers::render_qr(&mut display, screen_clip.into(), msg);
}
GfxOpcode::Quit => break,
_ => {
// This is perfectly normal because not all opcodes are handled by all platforms.