summaryrefslogtreecommitdiff
path: root/devel/ruby-rudl/files/patch-rudl_video_surface.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-rudl/files/patch-rudl_video_surface.c')
-rw-r--r--devel/ruby-rudl/files/patch-rudl_video_surface.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/ruby-rudl/files/patch-rudl_video_surface.c b/devel/ruby-rudl/files/patch-rudl_video_surface.c
new file mode 100644
index 000000000000..af806834d9a9
--- /dev/null
+++ b/devel/ruby-rudl/files/patch-rudl_video_surface.c
@@ -0,0 +1,11 @@
+--- rudl_video_surface.c.orig Sun Oct 19 20:26:13 2003
++++ rudl_video_surface.c Mon Apr 19 04:14:08 2004
+@@ -58,7 +58,7 @@
+ return surface;
+ }
+
+-__inline__ void setMasksFromBPP(Uint32 bpp, boolean alphaWanted, Uint32* Rmask, Uint32* Gmask, Uint32* Bmask, Uint32* Amask)
++__inline__ void setMasksFromBPP(Uint32 bpp, int alphaWanted, Uint32* Rmask, Uint32* Gmask, Uint32* Bmask, Uint32* Amask)
+ {
+ *Amask = 0;
+ if(alphaWanted && (bpp==32||bpp==16)){