patch-2.4.0-test6 linux/drivers/video/riva/fbdev.c
Next file: linux/drivers/video/sa1100fb.c
Previous file: linux/drivers/video/platinumfb.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Mon Jul 31 11:21:37 2000
- Orig file:
v2.4.0-test5/linux/drivers/video/riva/fbdev.c
- Orig date:
Mon Jul 10 16:47:25 2000
diff -u --recursive --new-file v2.4.0-test5/linux/drivers/video/riva/fbdev.c linux/drivers/video/riva/fbdev.c
@@ -857,7 +857,7 @@
v.blue.offset = 0;
#endif
v.red.length = 5;
- v.green.length = 5;
+ v.green.length = 6;
v.blue.length = 5;
break;
#endif
@@ -1390,8 +1390,8 @@
((green & 0xf800) << 2) | ((blue & 0xf800) >> 3);
#else
rivainfo->con_cmap.cfb16[regno] =
- ((red & 0xf800) >> 1) |
- ((green & 0xf800) >> 6) | ((blue & 0xf800) >> 11);
+ ((red & 0xf800) >> 0) |
+ ((green & 0xf800) >> 5) | ((blue & 0xf800) >> 11);
#endif
break;
#endif /* FBCON_HAS_CFB16 */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)