diff options
author | Toomas Soome <tsoome@FreeBSD.org> | 2021-01-15 12:58:12 +0000 |
---|---|---|
committer | Toomas Soome <tsoome@FreeBSD.org> | 2021-01-15 13:43:14 +0000 |
commit | 0974bfa3a8da2201b0a415e72593552f5ac59379 (patch) | |
tree | 9da6c71573c2c3cc3a30af572748554e9d2bf681 | |
parent | c66ec88fed842fbaad62c30d510644ceb7bd2d71 (diff) | |
download | src-0974bfa3a8da2201b0a415e72593552f5ac59379.tar.gz src-0974bfa3a8da2201b0a415e72593552f5ac59379.zip |
loader: do not update palette in text mode (real fix)
Apparently palette update while in text mode, will cause
some adapters to end up with blank display. Previous update had
condition reversed.
-rw-r--r-- | stand/i386/libi386/vidconsole.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/i386/libi386/vidconsole.c b/stand/i386/libi386/vidconsole.c index b42a476ef85e..e17885cb7b0c 100644 --- a/stand/i386/libi386/vidconsole.c +++ b/stand/i386/libi386/vidconsole.c @@ -939,7 +939,7 @@ cons_update_mode(bool use_gfx_mode) gfx_state.tg_fb.fb_mask_green >> goff, goff, gfx_state.tg_fb.fb_mask_blue >> boff, boff); - if (gfx_state.tg_ctype == CT_INDEXED && !use_gfx_mode) + if (gfx_state.tg_ctype == CT_INDEXED && use_gfx_mode) vidc_load_palette(); teken_set_winsize(&gfx_state.tg_teken, &gfx_state.tg_tp); |