mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
loader: do not update palette in text mode
Apparently palette update while in text mode, will cause some adapters to end up with blank display.
This commit is contained in:
parent
a2fc8ade10
commit
1790f5e654
1 changed files with 1 additions and 1 deletions
|
|
@ -936,7 +936,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)
|
||||
if (gfx_state.tg_ctype == CT_INDEXED && !use_gfx_mode)
|
||||
vidc_load_palette();
|
||||
|
||||
teken_set_winsize(&gfx_state.tg_teken, &gfx_state.tg_tp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue