Re-export the image converter macro

This commit is contained in:
Gwilym Kuiper 2021-07-26 23:42:28 +01:00
parent 0796247a2e
commit e3510a73f7
2 changed files with 3 additions and 2 deletions

View file

@ -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);

View file

@ -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;