]> git.pld-linux.org Git - packages/kernel.git/blob - linux-rivafb16.patch
- fix for text background on rivafb in 16bpp modes
[packages/kernel.git] / linux-rivafb16.patch
1 --- linux-2.4.19/drivers/video/riva/accel.c.orig        Sat Aug  3 02:39:45 2002
2 +++ linux-2.4.19/drivers/video/riva/accel.c     Thu Nov 28 12:08:49 2002
3 @@ -293,8 +293,8 @@
4  
5  static inline void convert_bgcolor_16(u32 *col)
6  {
7 -       *col = ((*col & 0x00007C00) << 9)
8 -             | ((*col & 0x000003E0) << 6)
9 +       *col = ((*col & 0x0000F800) << 8)
10 +             | ((*col & 0x000007E0) << 5)
11               | ((*col & 0x0000001F) << 3)
12               |          0xFF000000;
13  }
This page took 0.027581 seconds and 3 git commands to generate.