diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2000-10-31 07:58:34 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2000-10-31 07:58:34 +0000 |
| commit | 168d542ea596d5934366a5182581f40ae975f28f (patch) | |
| tree | 5c9028f9b443a3a3297ecf277be0fad5b86b5e45 | |
| parent | 0a3cb3425f020de9703f704ea2ab20db83ea0acf (diff) | |
Notes
| -rw-r--r-- | sys/dev/fb/splash_bmp.c | 2 | ||||
| -rw-r--r-- | sys/modules/splash/bmp/splash_bmp.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/fb/splash_bmp.c b/sys/dev/fb/splash_bmp.c index 09251b9678e2..5f1d2b29d167 100644 --- a/sys/dev/fb/splash_bmp.c +++ b/sys/dev/fb/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); diff --git a/sys/modules/splash/bmp/splash_bmp.c b/sys/modules/splash/bmp/splash_bmp.c index 09251b9678e2..5f1d2b29d167 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); |
