]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- fix for text background on rivafb in 16bpp modes
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 8 Jan 2003 14:41:22 +0000 (14:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    linux-rivafb16.patch -> 1.1

linux-rivafb16.patch [new file with mode: 0644]

diff --git a/linux-rivafb16.patch b/linux-rivafb16.patch
new file mode 100644 (file)
index 0000000..0348f64
--- /dev/null
@@ -0,0 +1,13 @@
+--- linux-2.4.19/drivers/video/riva/accel.c.orig       Sat Aug  3 02:39:45 2002
++++ linux-2.4.19/drivers/video/riva/accel.c    Thu Nov 28 12:08:49 2002
+@@ -293,8 +293,8 @@
+ static inline void convert_bgcolor_16(u32 *col)
+ {
+-      *col = ((*col & 0x00007C00) << 9)
+-             | ((*col & 0x000003E0) << 6)
++      *col = ((*col & 0x0000F800) << 8)
++             | ((*col & 0x000007E0) << 5)
+              | ((*col & 0x0000001F) << 3)
+              |          0xFF000000;
+ }
This page took 0.080556 seconds and 4 git commands to generate.