From ec161d9161a7f7ab9cd0d60dc3b8e4835729208e Mon Sep 17 00:00:00 2001 From: Corwin Kuiper Date: Sat, 5 Jun 2021 16:14:48 +0100 Subject: [PATCH] fix chicken example --- agb/examples/chicken.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agb/examples/chicken.rs b/agb/examples/chicken.rs index 38b08100..c4a7651d 100644 --- a/agb/examples/chicken.rs +++ b/agb/examples/chicken.rs @@ -48,7 +48,7 @@ pub fn main() -> ! { let vblank = gba.display.vblank.get(); let mut input = agb::input::ButtonController::new(); - gfx.set_sprite_palette(&CHICKEN_PALETTE); + gfx.set_sprite_palette_raw(&CHICKEN_PALETTE); gfx.set_sprite_tilemap(&CHICKEN_TILES); gfx.set_background_palette_raw(&MAP_PALETTE);