4 Jan
2007
4 Jan
'07
1:11 a.m.
Jan Zerebecki wrote:
+ LeaveCriticalSection(&wined3d_fake_gl_context_cs); + LEAVE_GL();
...
LEAVE_GL(); + LeaveCriticalSection(&wined3d_fake_gl_context_cs); return FALSE; }
You can't lock or unlock in different orders as this will create subtle races that could result in deadlocks. -- Rob Shearman