* graph.pp: removed pieslice and sector from ToDo list

* closegraph: exits now immidiately if isgraphmode = false (caused
    RTE 204 with VESA enabled if you set exitproc to call closegraph
    and also called closegraph explicitely before exit, like bgidemo)
This commit is contained in:
Jonas Maebe 1999-09-18 16:03:36 +00:00
parent 88b7b037b2
commit 34f074549c
2 changed files with 19 additions and 4 deletions

View File

@ -1630,6 +1630,11 @@ const CrtAddress: word = 0;
{************************************************************************}
procedure CloseGraph;
Begin
If not isgraphmode then
begin
_graphresult := grnoinitgraph;
exit
end;
if not assigned(RestoreVideoState) then
RunError(216);
RestoreVideoState;
@ -2583,7 +2588,13 @@ const CrtAddress: word = 0;
{
$Log$
Revision 1.12 1999-09-15 13:37:50 jonas
Revision 1.13 1999-09-18 16:03:36 jonas
* graph.pp: removed pieslice and sector from ToDo list
* closegraph: exits now immidiately if isgraphmode = false (caused
RTE 204 with VESA enabled if you set exitproc to call closegraph
and also called closegraph explicitely before exit, like bgidemo)
Revision 1.12 1999/09/15 13:37:50 jonas
* small change to internalellipsedef to be TP compatible
* fixed directputpixel for vga 320*200*256

View File

@ -2868,8 +2868,6 @@ begin
end.
PieSlice
Sector
SetGraphBufSize
SetBkColor
DetectGraph
@ -2879,7 +2877,13 @@ DetectGraph
{
$Log$
Revision 1.23 1999-09-17 13:58:31 jonas
Revision 1.24 1999-09-18 16:03:37 jonas
* graph.pp: removed pieslice and sector from ToDo list
* closegraph: exits now immidiately if isgraphmode = false (caused
RTE 204 with VESA enabled if you set exitproc to call closegraph
and also called closegraph explicitely before exit, like bgidemo)
Revision 1.23 1999/09/17 13:58:31 jonas
* another fix for a case where internalellipsedefault went haywire
* sector() and pieslice() fully implemented!
* small change to prevent buffer overflow with floodfill