reset screenimage in devvga "drawinit" command to account for actualsize
parent
be81150bb4
commit
5d7bbec094
|
@ -316,9 +316,6 @@ vgactl(Cmdbuf *cb)
|
||||||
deletescreenimage();
|
deletescreenimage();
|
||||||
if(screensize(x, y, z, chan))
|
if(screensize(x, y, z, chan))
|
||||||
error(Egreg);
|
error(Egreg);
|
||||||
vgascreenwin(scr);
|
|
||||||
resetscreenimage();
|
|
||||||
cursoron(1);
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case CMactualsize:
|
case CMactualsize:
|
||||||
|
@ -355,6 +352,9 @@ vgactl(Cmdbuf *cb)
|
||||||
error("drawinit: no gscreen");
|
error("drawinit: no gscreen");
|
||||||
if(scr->dev && scr->dev->drawinit)
|
if(scr->dev && scr->dev->drawinit)
|
||||||
scr->dev->drawinit(scr);
|
scr->dev->drawinit(scr);
|
||||||
|
vgascreenwin(scr);
|
||||||
|
resetscreenimage();
|
||||||
|
cursoron(1);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case CMlinear:
|
case CMlinear:
|
||||||
|
|
Loading…
Reference in New Issue