* don't call InitVideo in DetectVideo procedure

This commit is contained in:
pierre 2002-09-13 09:21:15 +00:00
parent f93b587cdb
commit b012e3336e
2 changed files with 12 additions and 4 deletions

View File

@ -775,7 +775,8 @@ procedure DetectVideo;
VAR
CurrMode : TVideoMode;
begin
Video.InitVideo;
{ Video.InitVideo; Incompatible with BP
and forces a screen clear which is often a bad thing PM }
GetVideoMode(CurrMode);
ScreenMode:=CurrMode;
end;
@ -1673,7 +1674,10 @@ BEGIN
END.
{
$Log$
Revision 1.32 2002-09-09 08:04:05 pierre
Revision 1.33 2002-09-13 09:21:15 pierre
* don't call InitVideo in DetectVideo procedure
Revision 1.32 2002/09/09 08:04:05 pierre
* remove all warnings about far
Revision 1.31 2002/09/07 15:06:36 peter

View File

@ -775,7 +775,8 @@ procedure DetectVideo;
VAR
CurrMode : TVideoMode;
begin
Video.InitVideo;
{ Video.InitVideo; Incompatible with BP
and forces a screen clear which is often a bad thing PM }
GetVideoMode(CurrMode);
ScreenMode:=CurrMode;
end;
@ -1673,7 +1674,10 @@ BEGIN
END.
{
$Log$
Revision 1.32 2002-09-09 08:04:05 pierre
Revision 1.33 2002-09-13 09:21:15 pierre
* don't call InitVideo in DetectVideo procedure
Revision 1.32 2002/09/09 08:04:05 pierre
* remove all warnings about far
Revision 1.31 2002/09/07 15:06:36 peter