From ae5d8818b67788880dc8315be3c5b91788258534 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Sat, 1 Oct 2022 17:09:48 +0100 Subject: [PATCH] Fix test in release mode (don't know why this works :/ but is more correct) --- agb/src/display/example_logo.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/agb/src/display/example_logo.rs b/agb/src/display/example_logo.rs index bec4df92..9b6dbe25 100644 --- a/agb/src/display/example_logo.rs +++ b/agb/src/display/example_logo.rs @@ -36,5 +36,8 @@ mod tests { display_logo(&mut map, &mut vram); crate::test_runner::assert_image_output("gfx/test_logo.png"); + + map.clear(&mut vram); + vram.gc(); } }