summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2010-05-24 01:46:06 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2010-05-24 01:46:06 +0000
commitaf25d42d5335f123130db18509af9317a7d9d7e7 (patch)
tree3d80d562e17110465bb230f8bd522fa4f373e29f /sys/dev
parenta5386a13c2e5e7b81c103e45a8030d9d196686c2 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/fb/vesa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/fb/vesa.c b/sys/dev/fb/vesa.c
index 62001c49e45c..f50fee7a2836 100644
--- a/sys/dev/fb/vesa.c
+++ b/sys/dev/fb/vesa.c
@@ -1443,6 +1443,7 @@ vesa_load_state(video_adapter_t *adp, void *p)
/* Try BIOS POST to restore a sane state. */
(void)vesa_bios_post();
(void)int10_set_mode(adp->va_initial_bios_mode);
+ (void)vesa_set_mode(adp, adp->va_mode);
return (vesa_bios_save_restore(STATE_LOAD, ((adp_state_t *)p)->regs,
vesa_state_buf_size));