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