summaryrefslogtreecommitdiff
path: root/devel/ruby-rudl/files/patch-rudl_video_surface.c
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2004-04-18 19:28:57 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2004-04-18 19:28:57 +0000
commit77de1faccffd999c2a15750451a6d1ea0f382268 (patch)
treee1723d39018c80f45d108ddc76bd33262bf3d2a5 /devel/ruby-rudl/files/patch-rudl_video_surface.c
parentAdd duke3d 20012306, icculus Duke Nukem 3D port for various Operating (diff)
Update to 0.7.1 and unbreak.
Notes
Notes: svn path=/head/; revision=107478
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)){