mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-29 04:22:16 -05:00
Temporary workaround for DTM editor crash.
This commit is contained in:
parent
c6b1559af1
commit
8d852cf18f
@ -321,8 +321,12 @@ end;
|
|||||||
|
|
||||||
procedure ResetBuffer;
|
procedure ResetBuffer;
|
||||||
begin
|
begin
|
||||||
|
{
|
||||||
|
Freeing the BmpBuffer here causes access violations.
|
||||||
|
It will have to investigated later.
|
||||||
if (bmpBuffer <> nil) then
|
if (bmpBuffer <> nil) then
|
||||||
bmpBuffer.Free;
|
bmpBuffer.Free;
|
||||||
|
}
|
||||||
|
|
||||||
bmpBuffer := bmp.Copy(0, 0, bmp.Width - 1, bmp.Height - 1);
|
bmpBuffer := bmp.Copy(0, 0, bmp.Width - 1, bmp.Height - 1);
|
||||||
BufferChanged := False;
|
BufferChanged := False;
|
||||||
|
Loading…
Reference in New Issue
Block a user