Re: [PATCH 5/5] ddraw: Separate IDirectDrawSurface2 reference count.
15 Jun
2011
15 Jun
'11
9:35 a.m.
rbarkauskas(a)codeweavers.com writes:
@@ -766,6 +766,8 @@ DestroyCallback(IDirectDrawSurface7 *surf,
/* Destroy the surface */ while(ref) ref = IDirectDrawSurface7_Release(surf); + ref = Impl->ref2; + while(ref) ref = IDirectDrawSurface2_Release(&Impl->IDirectDrawSurface2_iface);
Ref counts should only be accessed through the interlocked functions. -- Alexandre Julliard julliard(a)winehq.org
5298
Age (days ago)
5298
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard