mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
Update MSRV to 1.80 (#5457)
Because some dependencies now require it, see: * https://github.com/emilk/egui/pull/5456
This commit is contained in:
@@ -60,7 +60,7 @@ impl TestRenderer {
|
||||
}
|
||||
|
||||
/// Render the [`Harness`] and return the resulting image.
|
||||
pub fn render<State>(&mut self, harness: &Harness<'_, State>) -> RgbaImage {
|
||||
pub fn render<State>(&self, harness: &Harness<'_, State>) -> RgbaImage {
|
||||
// We need to create a new renderer each time we render, since the renderer stores
|
||||
// textures related to the Harnesses' egui Context.
|
||||
// Calling the renderer from different Harnesses would cause problems if we store the renderer.
|
||||
|
||||
Reference in New Issue
Block a user