From e3510a73f7f8c03664e4cc7e5be3bdd113d8966a Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Mon, 26 Jul 2021 23:42:28 +0100 Subject: [PATCH] Re-export the image converter macro --- agb/src/display/example_logo.rs | 3 +-- agb/src/lib.rs | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/agb/src/display/example_logo.rs b/agb/src/display/example_logo.rs index c35f81f1..7b9c520d 100644 --- a/agb/src/display/example_logo.rs +++ b/agb/src/display/example_logo.rs @@ -1,7 +1,6 @@ use crate::display::tiled0::Tiled0; -use agb_image_converter::include_gfx; -include_gfx!("gfx/agb_logo.toml"); +crate::include_gfx!("gfx/agb_logo.toml"); pub fn display_logo(gfx: &mut Tiled0) { gfx.set_background_palettes(agb_logo::test_logo.palettes); diff --git a/agb/src/lib.rs b/agb/src/lib.rs index 286b0076..dc7a73ab 100644 --- a/agb/src/lib.rs +++ b/agb/src/lib.rs @@ -20,6 +20,8 @@ pub mod input; /// Implements sound output. pub mod sound; +pub use agb_image_converter::include_gfx; + mod bitarray; mod interrupt; mod memory_mapped;