} else {
$SDL::App::USING_OPENGL = 0;
}
- my $self = SDL::SetVideoMode($w,$h,$d,$f);
- $$self
+ my $self = \SDL::SetVideoMode($w,$h,$d,$f);
+ $$self
or die SDL::GetError();
if ($ic and -e $ic) {
SDL_eventaction action
Uint32 mask
CODE:
- RETVAL = SDL_PeepEvents( e, numevents, action, mask);
+ RETVAL = (int)SDL_PeepEvents( e, numevents, action, mask);
OUTPUT:
RETVAL