Remove update_rect from Surface.xs, enable it in SDL.xs
[sdlgit/SDL_perl.git] / t / core_surface.t
index a047948..d87811c 100644 (file)
@@ -91,7 +91,7 @@ my $rect = SDL::Rect->new( 0, 0, $app->w, $app->h );
 
 my $blue_pixel = SDL::MapRGB( $app_pixel_format, 0x00, 0x00, 0xff );
 SDL::FillRect( $app, $rect, $blue_pixel );
-SDL::Surface::update_rect( $app, 0, 0, 0, 0 );
+SDL::UpdateRect( $app, 0, 0, 0, 0 );
 
 diag( 'This is in surface : ' . SDL::Surface::get_pixels($app) );