4 use Test::More tests => 2;
7 use_ok('SDL::Overlay');
9 SDL::Init(SDL_INIT_VIDEO);
11 my $display = SDL::SetVideoMode(640,480,32, SDL_SWSURFACE );
13 my $overlay = SDL::Overlay->new( 100, 100, SDL_YV12_OVERLAY, $display);
15 isa_ok( $overlay, 'SDL::Overlay');