projects
/
sdlgit/SDL_perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4fc86db
)
Call SDL_MapRGBA in video_map_RGBA instead of SDL_MapRGB
Leon Brocard [Mon, 2 Nov 2009 15:42:47 +0000 (15:42 +0000)]
src/Core/Video.xs
patch
|
blob
|
blame
|
history
diff --git
a/src/Core/Video.xs
b/src/Core/Video.xs
index
e7a9a0e
..
b6bce90
100644
(file)
--- 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