From: Leon Brocard Date: Mon, 2 Nov 2009 16:08:36 +0000 (+0000) Subject: Delete GetRGBA from SDL.xs X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9599504ff147375a1b406dc40d5e93bc2b6f77c1;p=sdlgit%2FSDL_perl.git Delete GetRGBA from SDL.xs --- diff --git a/src/SDL.xs b/src/SDL.xs index bd939c6..ccfa83c 100644 --- a/src/SDL.xs +++ b/src/SDL.xs @@ -1193,20 +1193,6 @@ BlitSurface ( src, src_rect, dest, dest_rect ) Comment out for now as it does not compile -AV * -GetRGBA ( surface, pixel ) - SDL_Surface *surface - Uint32 pixel - CODE: - Uint8 r,g,b,a; - SDL_GetRGBA(pixel,surface->format,&r,&g,&b,&a); - RETVAL = newAV(); - av_push(RETVAL,newSViv(r)); - av_push(RETVAL,newSViv(g)); - av_push(RETVAL,newSViv(b)); - av_push(RETVAL,newSViv(a)); - OUTPUT: - RETVAL int SaveBMP ( surface, filename )