mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-11 03:45:06 -05:00
Removed wrong exceptions.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@67 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
parent
13c2103030
commit
5d58b428ea
@ -242,17 +242,8 @@ end;
|
||||
|
||||
procedure TMWindow.FreeReturnData;
|
||||
begin
|
||||
if Self.TargetMode <> w_XWindow then
|
||||
begin
|
||||
raise Exception.createFMT('FreeReturnData - Image data must only ' +
|
||||
' be freed with XGetImage', []);
|
||||
exit;
|
||||
end;
|
||||
if FreezeState then
|
||||
begin
|
||||
raise Exception.createFMT('FreeReturnData called when Freeze = True', []);
|
||||
exit;
|
||||
end;
|
||||
if (Self.TargetMode <> w_XWindow) or FreezeState then
|
||||
Exit;
|
||||
{$IFDEF LINUX}
|
||||
if not Self.XImageFreed then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user