10 use_ok( 'SDL::Video' );
12 can_ok ('SDL::Video', qw/
18 #testing get_video_surface
19 SDL::Init(SDL_INIT_VIDEO);
21 my $display = SDL::SetVideoMode(640,480,32, SDL_SWSURFACE );
23 diag('Testing SDL::Video');
25 isa_ok(SDL::Video::get_video_surface(), 'SDL::Surface', '[get_video_surface] Checking if we get a surface ref back');
27 isa_ok(SDL::Video::get_video_info(), 'SDL::VideoInfo', '[get_video_info] Checking if we get videoinfo ref back');
29 my $driver_name = SDL::Video::video_driver_name();
31 pass '[video_driver_name] This is your driver name: '.$driver_name;
33 #Dump( SDL::Video::video_driver_name() );
35 pass "Are we still alive?";
53 create_RGB_surface_from