$SDL::App::USING_OPENGL = 0;
}
- my $self = SDL::SetVideoMode('SDL::Surface',$w,$h,$d,$f)
+ my $self = SDL::SetVideoMode($w,$h,$d,$f)
or croak SDL::GetError();
if ($ic and -e $ic) {
RETVAL
SDL_Surface *
-SetVideoMode ( CLASS, width, height, bpp, flags )
- char* CLASS
+SetVideoMode ( width, height, bpp, flags )
+
int width
int height
int bpp
Uint32 flags
CODE:
+ char *CLASS = "SDL::Surface";
RETVAL = SDL_SetVideoMode(width,height,bpp,flags);
OUTPUT:
RETVAL