[Bug 22624] multithread app using GDI and directx may cause deadlock

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 8 01:12:54 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22624





--- Comment #1 from drangon <drangon.mail at gmail.com>  2010-05-08 01:12:53 ---
the following patch may temporally avoid the deadlock :

--- wine-1.1.44/dlls/wined3d/directx.c.origin    2010-05-08 11:23:04.431129862
+0800
+++ wine-1.1.44/dlls/wined3d/directx.c   2010-05-08 11:23:40.942207373 +0800
@@ -529,7 +529,9 @@
     checkGLcall("Loading the PBO test texture");

     GL_EXTCALL(glBindBufferARB(GL_PIXEL_UNPACK_BUFFER_ARB, 0));
+    LEAVE_GL();
     wglFinish(); /* just to be sure */
+    ENTER_GL();

     memset(check, 0, sizeof(check));
     glGetTexImage(GL_TEXTURE_2D, 0, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV,
check);

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list