X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FSDL%2FApp.pm;h=542b79fb4c31043459286daa8d014889c5973db7;hb=e853497ac6c8b125554ca0f7e1c8463798717317;hp=a3b0cb693084f1600f1bd63828bdc1cc9b9ad96c;hpb=d5a2f5aca8aa348105b7fbcf0664594c9aa35d8b;p=sdlgit%2FSDL_perl.git diff --git a/lib/SDL/App.pm b/lib/SDL/App.pm index a3b0cb6..542b79f 100644 --- a/lib/SDL/App.pm +++ b/lib/SDL/App.pm @@ -113,7 +113,7 @@ sub new { } my $self = SDL::SetVideoMode($w,$h,$d,$f) - or croak SDL::GetError(); + or croak SDL::geterror(); if ($ic and -e $ic) { my $icon = new SDL::Surface -name => $ic; @@ -157,7 +157,7 @@ sub ticks { } sub error { - return SDL::GetError(); + return SDL::geterror(); } sub warp ($$$) {