mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-10 23:33:46 +00:00
Clear screen on mode switch
This commit is contained in:
parent
b28a8c6e2a
commit
f214cab20b
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ VbeSetMode (Vm86InfoPtr vi, VbeInfoPtr vbe, int mode, int linear, int direct)
|
|||
if (code < 0)
|
||||
return -1;
|
||||
|
||||
mode = (mode & 0xffff) | 0x8000;
|
||||
mode = (mode & 0xffff) &~ 0x8000;
|
||||
if (linear)
|
||||
mode |= 0x4000;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue