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');