12 use_ok( 'SDL::Video' );
14 can_ok ('SDL::Video', qw/
21 #testing get_video_surface
22 SDL::Init(SDL_INIT_VIDEO);
24 my $display = SDL::SetVideoMode(640,480,32, SDL_SWSURFACE );
26 diag('Testing SDL::Video');
28 isa_ok(SDL::Video::get_video_surface(), 'SDL::Surface', '[get_video_surface] Checking if we get a surface ref back');
30 isa_ok(SDL::Video::get_video_info(), 'SDL::VideoInfo', '[get_video_info] Checking if we get videoinfo ref back');
32 my $driver_name = SDL::Video::video_driver_name();
34 pass '[video_driver_name] This is your driver name: '.$driver_name;
36 Dump SDL::Video::list_modes( $display->format , SDL_HWSURFACE );
38 pass "Are we still alive?";
55 create_RGB_surface_from