]> git.pld-linux.org Git - packages/kernel.git/blame - linux-2.6-rivafb16.patch
- obsolete
[packages/kernel.git] / linux-2.6-rivafb16.patch
CommitLineData
f406c7e2
JB
1--- linux-2.6.4/drivers/video/riva/fbdev.c.orig 2004-03-11 03:55:36.000000000 +0100
2+++ linux-2.6.4/drivers/video/riva/fbdev.c 2004-04-22 18:42:33.063742432 +0200
3@@ -1368,8 +1368,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.104834 seconds and 4 git commands to generate.