X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2FCore%2Fobjects%2FSurface.xs;fp=src%2FCore%2Fobjects%2FSurface.xs;h=33c95e5df6957c5e3077e3509070a380e8ed0357;hb=f7ce55ec6ad0a21bb1fa18aec222fa0274764557;hp=43bd8dcfb67a2121c8d74b5500d3a80aa10beb7b;hpb=8e0fefab235a3196d58a6cd4a2b10343ba284c36;p=sdlgit%2FSDL_perl.git diff --git a/src/Core/objects/Surface.xs b/src/Core/objects/Surface.xs index 43bd8dc..33c95e5 100644 --- a/src/Core/objects/Surface.xs +++ b/src/Core/objects/Surface.xs @@ -74,29 +74,6 @@ surface_update_rects ( surface, ... ) SDL_UpdateRects(surface,num_rects,rects); safefree(rects); -SDL_Surface * -surface_display ( surface ) - SDL_Surface *surface - CODE: - char* CLASS = "SDL::Surface"; - - SDL_Surface *new_surface = SDL_DisplayFormat(surface); - SDL_FreeSurface(surface); - RETVAL = new_surface; - OUTPUT: - RETVAL - -SDL_Surface * -surface_display_alpha ( surface ) - SDL_Surface *surface - CODE: - char* CLASS = "SDL::Surface"; - SDL_Surface *new_surface = SDL_DisplayFormatAlpha(surface); - SDL_FreeSurface(surface); - RETVAL = new_surface; - OUTPUT: - RETVAL - Uint16 surface_pitch( surface ) SDL_Surface *surface