diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2003-03-29 09:53:18 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2003-03-29 09:53:18 +0000 |
| commit | 2c36078d184e6b3fde44793800a6c8ca0b0639f1 (patch) | |
| tree | 19d35773be783fd6761833f599af82301c20ceac /print/ghostscript8/files/patch-src:gdevsgi.c | |
| parent | 46e9a484f814c07d51ab2cb90517f4f5c4c368ae (diff) | |
Diffstat (limited to 'print/ghostscript8/files/patch-src:gdevsgi.c')
| -rw-r--r-- | print/ghostscript8/files/patch-src:gdevsgi.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/print/ghostscript8/files/patch-src:gdevsgi.c b/print/ghostscript8/files/patch-src:gdevsgi.c deleted file mode 100644 index 96d3891fc9e5..000000000000 --- a/print/ghostscript8/files/patch-src:gdevsgi.c +++ /dev/null @@ -1,16 +0,0 @@ ---- src/gdevsgi.c.orig Fri Feb 22 07:24:52 2002 -+++ src/gdevsgi.c Sun Nov 10 22:55:30 2002 -@@ -32,8 +32,11 @@ - sgi_prn_device(sgi_procs, "sgirgb", 3, 24, 255, 255, sgi_print_page); - - private gx_color_index --sgi_map_rgb_color(gx_device *dev, ushort r, ushort g, ushort b) --{ ushort bitspercolor = dev->color_info.depth / 3; -+sgi_map_rgb_color(gx_device *dev, const ushort cv[]) -+{ ushort r = cv[0]; -+ ushort g = cv[1]; -+ ushort b = cv[2]; -+ ushort bitspercolor = dev->color_info.depth / 3; - ulong max_value = (1 << bitspercolor) - 1; - return ((r*max_value / gx_max_color_value) << (bitspercolor * 2)) + - ((g*max_value / gx_max_color_value) << bitspercolor) + |
