diff options
| author | Bruce Evans <bde@FreeBSD.org> | 2017-04-20 13:46:55 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 2017-04-20 13:46:55 +0000 |
| commit | ecb56aaf6099f5336b8816cbc1ad21ae55c8a101 (patch) | |
| tree | 806556af21606181ba52b6959f6a1629fc351b5b /sys/dev/fb/vesa.c | |
| parent | 05d06ecac32d892eafc5e8e13652324d8f5ac46a (diff) | |
Notes
Diffstat (limited to 'sys/dev/fb/vesa.c')
| -rw-r--r-- | sys/dev/fb/vesa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/fb/vesa.c b/sys/dev/fb/vesa.c index 0698220de78b..d51e560c7f84 100644 --- a/sys/dev/fb/vesa.c +++ b/sys/dev/fb/vesa.c @@ -1359,6 +1359,7 @@ vesa_set_mode(video_adapter_t *adp, int mode) vesa_adp->va_crtc_addr = (vesa_adp->va_flags & V_ADP_COLOR) ? COLOR_CRTC : MONO_CRTC; + vesa_adp->va_flags &= ~V_ADP_CWIDTH9; vesa_adp->va_line_width = info.vi_buffer_size / info.vi_height; if ((info.vi_flags & V_INFO_GRAPHICS) != 0) vesa_adp->va_line_width /= info.vi_planes; |
