From: Leon Brocard Date: Mon, 2 Nov 2009 15:42:47 +0000 (+0000) Subject: Call SDL_MapRGBA in video_map_RGBA instead of SDL_MapRGB X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5ffed9772c1ecd234451f2f59d515f8f71e81ed3;p=sdlgit%2FSDL_perl.git Call SDL_MapRGBA in video_map_RGBA instead of SDL_MapRGB --- diff --git a/src/Core/Video.xs b/src/Core/Video.xs index e7a9a0e..b6bce90 100644 --- a/src/Core/Video.xs +++ b/src/Core/Video.xs @@ -262,7 +262,7 @@ video_map_RGBA ( pixel_format, r, g, b, a ) Uint8 b Uint8 a CODE: - RETVAL = SDL_MapRGB(pixel_format,r,g,b); + RETVAL = SDL_MapRGBA(pixel_format,r,g,b,a); OUTPUT: RETVAL