Delete GetRGBA from SDL.xs
Leon Brocard [Mon, 2 Nov 2009 16:08:36 +0000 (16:08 +0000)]
src/SDL.xs

index bd939c6..ccfa83c 100644 (file)
@@ -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 )