use SDL::App;
use SDL::Rect;
use SDL::Color;
+use SDL::Video;
use SDL::PixelFormat;
use Test::More tests => 35;
my $blue_pixel = SDL::MapRGB( $app_pixel_format, 0x00, 0x00, 0xff );
SDL::FillRect( $app, $rect, $blue_pixel );
-SDL::UpdateRect( $app, 0, 0, 0, 0 );
-SDL::UpdateRects( $app, $small_rect );
+SDL::Video::update_rect( $app, 0, 0, 0, 0 );
+SDL::Video::update_rects( $app, $small_rect );
diag( 'This is in surface : ' . SDL::Surface::get_pixels($app) );