make clipper threadsafe for TA
This commit is contained in:
parent
009bc4e2e8
commit
103f78276b
3 changed files with 51 additions and 0 deletions
|
@ -31,6 +31,8 @@ ULONG __stdcall IDirectDrawClipper__Release(IDirectDrawClipperImpl* This)
|
|||
if (This->region)
|
||||
DeleteObject(This->region);
|
||||
|
||||
DeleteCriticalSection(&This->cs);
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, This);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue