Skip to content

Commit

Permalink
Use bmp not png
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpalmer committed Sep 10, 2010
1 parent 4b5e986 commit 4dd82a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/sdlx_sprite_animated.t
Expand Up @@ -400,7 +400,7 @@ is( $clip->y, 0, 'clip->y after seventh previous' );
is( $sprite->current_frame, 1, 'sprite->current_frame after seventh previous' );
$sprite = SDLx::Sprite::Animated->new(
image => 'test/data/hero.png',
image => 'test/data/hero.bmp',
rect => SDL::Rect->new( 40, 50, 48, 48 ),
clip => SDL::Rect->new( 48, 48, 48, 48 ),
sequences => { up => [ [ 0, 0 ], [ 0, 1 ] ] },
Expand All @@ -419,7 +419,7 @@ is( $clip->x, 48, 'clip->x after second next' );
is( $clip->y, 48, 'clip->y after second next' );
$sprite = SDLx::Sprite::Animated->new(
image => 'test/data/hero.png',
image => 'test/data/hero.bmp',
rect => SDL::Rect->new( 40, 50, 48, 48 ),
);
$clip = $sprite->clip;
Expand Down

0 comments on commit 4dd82a2

Please sign in to comment.