Author: jkim Date: Fri Mar 16 19:22:29 2012 New Revision: 233042 URL: http://svn.freebsd.org/changeset/base/233042
Log: Do not unnecessarily clear display memory when switching modes. MFC after: 3 days Modified: head/sys/dev/fb/vesa.c Modified: head/sys/dev/fb/vesa.c ============================================================================== --- head/sys/dev/fb/vesa.c Fri Mar 16 19:09:34 2012 (r233041) +++ head/sys/dev/fb/vesa.c Fri Mar 16 19:22:29 2012 (r233042) @@ -1313,7 +1313,7 @@ vesa_set_mode(video_adapter_t *adp, int if ((info.vi_flags & V_INFO_LINEAR) != 0) mode |= 0x4000; - if (vesa_bios_set_mode(mode)) + if (vesa_bios_set_mode(mode | 0x8000)) return (1); /* Palette format is reset by the above VBE function call. */ _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"