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
@ -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_green >> goff, goff,
|
||||||
gfx_state.tg_fb.fb_mask_blue >> boff, boff);
|
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();
|
vidc_load_palette();
|
||||||
|
|
||||||
teken_set_winsize(&gfx_state.tg_teken, &gfx_state.tg_tp);
|
teken_set_winsize(&gfx_state.tg_teken, &gfx_state.tg_tp);
|
||||||
|
Loading…
Reference in New Issue
Block a user