patch-2.4.27 linux-2.4.27/drivers/video/riva/accel.c
Next file: linux-2.4.27/drivers/video/riva/fbdev.c
Previous file: linux-2.4.27/drivers/video/fbmem.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2004-08-07 16:26:05.880397154 -0700
- Orig file:
linux-2.4.26/drivers/video/riva/accel.c
- Orig date:
2003-06-13 07:51:37.000000000 -0700
diff -urN linux-2.4.26/drivers/video/riva/accel.c linux-2.4.27/drivers/video/riva/accel.c
@@ -300,8 +300,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;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)