patch-2.3.21 linux/drivers/video/vesafb.c
Next file: linux/drivers/video/virgefb.c
Previous file: linux/drivers/video/valkyriefb.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Oct 11 10:26:52 1999
- Orig file:
v2.3.20/linux/drivers/video/vesafb.c
- Orig date:
Thu Aug 26 13:05:40 1999
diff -u --recursive --new-file v2.3.20/linux/drivers/video/vesafb.c linux/drivers/video/vesafb.c
@@ -532,6 +532,8 @@
video_base = screen_info.lfb_base;
video_bpp = screen_info.lfb_depth;
+ if (15 == video_bpp)
+ video_bpp = 16;
video_width = screen_info.lfb_width;
video_height = screen_info.lfb_height;
video_linelength = screen_info.lfb_linelength;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)