mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 08:49:25 +02:00
* 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:
parent
88b7b037b2
commit
34f074549c
@ -1630,6 +1630,11 @@ const CrtAddress: word = 0;
|
|||||||
{************************************************************************}
|
{************************************************************************}
|
||||||
procedure CloseGraph;
|
procedure CloseGraph;
|
||||||
Begin
|
Begin
|
||||||
|
If not isgraphmode then
|
||||||
|
begin
|
||||||
|
_graphresult := grnoinitgraph;
|
||||||
|
exit
|
||||||
|
end;
|
||||||
if not assigned(RestoreVideoState) then
|
if not assigned(RestoreVideoState) then
|
||||||
RunError(216);
|
RunError(216);
|
||||||
RestoreVideoState;
|
RestoreVideoState;
|
||||||
@ -2583,7 +2588,13 @@ const CrtAddress: word = 0;
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$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
|
* small change to internalellipsedef to be TP compatible
|
||||||
* fixed directputpixel for vga 320*200*256
|
* fixed directputpixel for vga 320*200*256
|
||||||
|
|
||||||
|
@ -2868,8 +2868,6 @@ begin
|
|||||||
end.
|
end.
|
||||||
|
|
||||||
|
|
||||||
PieSlice
|
|
||||||
Sector
|
|
||||||
SetGraphBufSize
|
SetGraphBufSize
|
||||||
SetBkColor
|
SetBkColor
|
||||||
DetectGraph
|
DetectGraph
|
||||||
@ -2879,7 +2877,13 @@ DetectGraph
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$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
|
* another fix for a case where internalellipsedefault went haywire
|
||||||
* sector() and pieslice() fully implemented!
|
* sector() and pieslice() fully implemented!
|
||||||
* small change to prevent buffer overflow with floodfill
|
* small change to prevent buffer overflow with floodfill
|
||||||
|
Loading…
Reference in New Issue
Block a user