+ destroy the win16 video unit window in DoneVideo

git-svn-id: trunk@37637 -
This commit is contained in:
nickysn 2017-12-01 13:59:46 +00:00
parent 163ee92ef5
commit 87846323c2

View File

@ -168,6 +168,12 @@ end;
procedure SysDoneVideo;
begin
if VideoWindow<>0 then
begin
if not DestroyWindow(VideoWindow) then
MessageBox(0,'Error destroying window',nil,MB_OK or MB_ICONHAND or MB_TASKMODAL);
VideoWindow:=0;
end;
end;
procedure SysUpdateScreen(Force: Boolean);