From: Kartik Thakore Date: Thu, 22 Oct 2009 01:40:08 +0000 (-0400) Subject: Fixed Test X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0e58367517ebdb65bd69199e0cc4cce62ab095cb;p=sdlgit%2FSDL_perl.git Fixed Test --- diff --git a/t/core_overlay.t b/t/core_overlay.t index 2b0660b..38cb83a 100644 --- a/t/core_overlay.t +++ b/t/core_overlay.t @@ -8,9 +8,9 @@ use_ok('SDL::Overlay'); SDL::Init(SDL_INIT_VIDEO); -my $display = SDL::SetVideoMode(640,480,32,0); +my $display = SDL::SetVideoMode(640,480,32, SDL_SWSURFACE ); -my $overlay = SDL::Overlay->new( 0, 0, 0, $display); +my $overlay = SDL::Overlay->new( 100, 100, SDL_YV12_OVERLAY, $display); isa_ok( $overlay, 'SDL::Overlay');