summaryrefslogtreecommitdiffstats
path: root/sys/modules/splash
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2000-10-31 07:58:34 +0000
committernyan <nyan@FreeBSD.org>2000-10-31 07:58:34 +0000
commitfc137b0cb669f4c2c6073f6092445e7a94eb4dbd (patch)
treee0a36dfc27ee80fbf68da4eee980de7b26f03ad1 /sys/modules/splash
parentff9886d17b8d5041236f842baa795b60b4190f65 (diff)
downloadFreeBSD-src-fc137b0cb669f4c2c6073f6092445e7a94eb4dbd.zip
FreeBSD-src-fc137b0cb669f4c2c6073f6092445e7a94eb4dbd.tar.gz
Disabled EGA/VGA 1bpp/4bpp modes support. This is not real fix, but this comes
back to support 8bpp mode.
Diffstat (limited to 'sys/modules/splash')
-rw-r--r--sys/modules/splash/bmp/splash_bmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/splash/bmp/splash_bmp.c b/sys/modules/splash/bmp/splash_bmp.c
index 09251b9..5f1d2b2 100644
--- a/sys/modules/splash/bmp/splash_bmp.c
+++ b/sys/modules/splash/bmp/splash_bmp.c
@@ -609,6 +609,7 @@ bmp_Draw(video_adapter_t *adp)
/* set the palette for our image */
(*vidsw[adp->va_index]->load_palette)(adp, (u_char *)&bmp_info.palette);
+#if 0
#ifndef PC98
/* XXX: this is ugly, but necessary for EGA/VGA 1bpp/4bpp modes */
if ((adp->va_type == KD_EGA) || (adp->va_type == KD_VGA)) {
@@ -628,6 +629,7 @@ bmp_Draw(video_adapter_t *adp)
outw(TSIDX, 0x0102); /* unmask plane #0 */
}
#endif
+#endif
for (line = 0; (line < bmp_info.height) && bmp_info.index; line++) {
bmp_DecodeLine(&bmp_info, line);
OpenPOWER on IntegriCloud