mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 06:39:39 +02:00
* properly initialise graphresult when setgraphmode is called directly
(patch by Nikolay Nikolov, mantis #16798) git-svn-id: trunk@15485 -
This commit is contained in:
parent
3668be7ee4
commit
469106629c
@ -549,6 +549,7 @@ end;
|
||||
_GraphResult := grInvalidMode;
|
||||
exit;
|
||||
end;
|
||||
_GraphResult := grOk;
|
||||
modeinfo^.InitMode;
|
||||
if _GraphResult <> grOk then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user