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.