mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Cleanup, add scanline mask builder
This commit is contained in:
@@ -143,11 +143,7 @@ void GetDialogRect (Rect *bounds, short dialogID)
|
||||
dlogHandle = (DialogTHndl)GetResource('DLOG', dialogID);
|
||||
if (dlogHandle != nil)
|
||||
{
|
||||
wasState = HGetState((Handle)dlogHandle);
|
||||
HLock((Handle)dlogHandle);
|
||||
|
||||
*bounds = (**dlogHandle).boundsRect;
|
||||
HSetState((Handle)dlogHandle, wasState);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user