[6/6] d3d8: Handles aren't supposed to be pointers.

Paul Vriens paul.vriens.wine at gmail.com
Tue Mar 10 03:34:30 CDT 2009


Henri Verbeet wrote:
> 
> ------------------------------------------------------------------------
> 
> 
Hi,

+    EnterCriticalSection(&d3d8_cs);
+    *pToken = d3d8_allocate_handle(&This->handle_table, object);
      LeaveCriticalSection(&d3d8_cs);

Is there a need for that extra EnterCriticalSection() (in _EndStateBlock)? There 
is one a few lines up.

-- 
Cheers,

Paul.



More information about the wine-devel mailing list