From: Jakub Bogusz Date: Wed, 8 Jan 2003 14:41:22 +0000 (+0000) Subject: - fix for text background on rivafb in 16bpp modes X-Git-Tag: kernel-2_4_20-2~11 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=ac37fa1d3beceebdf9f6efa6ed77a5c1bee387c1;p=packages%2Fkernel.git - fix for text background on rivafb in 16bpp modes Changed files: linux-rivafb16.patch -> 1.1 --- diff --git a/linux-rivafb16.patch b/linux-rivafb16.patch new file mode 100644 index 00000000..0348f64f --- /dev/null +++ b/linux-rivafb16.patch @@ -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; + }