user32: Enforce that surfaces are flushed after ReleaseDC.

Sebastian Lackner sebastian at fds-team.de
Sun Mar 1 19:10:36 CST 2015


If a second thread draws on the surfaces while the main thread is waiting for
window messages the window doesn't update properly. Can be reproduced for example
with the source code from: https://www-user.tu-chemnitz.de/~heha/petzold/ch20c.htm

---
 dlls/user32/painting.c | 1 +
 dlls/user32/win.c      | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-Enforce-that-surfaces-are-flushed-after-Relea.patch
Type: text/x-patch
Size: 1273 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150302/9e056987/attachment.bin>


More information about the wine-patches mailing list