From: Kartik Thakore Date: Thu, 29 Oct 2009 17:20:07 +0000 (-0400) Subject: SDL::GetError to SDL::geterror in t/core_video.t X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=56edfae7155aa08747e42ba26c3f745e7610e7b4;p=sdlgit%2FSDL_perl.git SDL::GetError to SDL::geterror in t/core_video.t --- diff --git a/t/core_video.t b/t/core_video.t index 18afc7e..5a19ad8 100644 --- a/t/core_video.t +++ b/t/core_video.t @@ -38,7 +38,7 @@ SDL::init(SDL_INIT_VIDEO); my $display = SDL::Video::set_video_mode(640,480,32, SDL_SWSURFACE ); if(!$display){ - plan skip_all => 'Couldn\'t set video mode: '. SDL::GetError(); + plan skip_all => 'Couldn\'t set video mode: '. SDL::geterror(); } #diag('Testing SDL::Video'); @@ -90,7 +90,7 @@ for(my $i=0;$i<256;$i++){ my $hwdisplay = SDL::Video::set_video_mode(640,480,8, SDL_HWSURFACE ); if(!$hwdisplay){ - plan skip_all => 'Couldn\'t set video mode: '. SDL::GetError(); + plan skip_all => 'Couldn\'t set video mode: '. SDL::geterror(); } $value = SDL::Video::set_colors($hwdisplay, 0);