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