Closed qianzhang5 closed 1 year ago
Thank you for the example! I was able to reproduce the same issue quickly with this. 💯🙏
A fix was pushed specifying buffer_row_length
and buffer_image_height
parameters in the screen-13-egui
crate. These were zero and that is not valid input.
could you remove debug_assert!(res.end > res.start)? the Text plotting in plot crashes in debug build.
sample code: use {screen_13::prelude::, screen_13_egui::prelude::}; use egui::{text::{LayoutJob, TextFormat}, Color32}; use egui::epaint::text::{FontId, FontFamily}; use egui::widgets::plot::*; fn main() -> Result<(), DisplayError> { pretty_env_logger::init();
}