Henri Verbeet : gdi32: Update the DC in ExtEscape().

Alexandre Julliard julliard at winehq.org
Wed Oct 26 12:35:46 CDT 2011


Module: wine
Branch: master
Commit: aa7bbe1376535efc376a0c38083af25f47b3e6b4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=aa7bbe1376535efc376a0c38083af25f47b3e6b4

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Oct 25 21:20:27 2011 +0200

gdi32: Update the DC in ExtEscape().

Specifically, X11DRV_FLUSH_GL_DRAWABLE needs correct clip rects.

---

 dlls/gdi32/driver.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/gdi32/driver.c b/dlls/gdi32/driver.c
index ea15eab..db1d268 100644
--- a/dlls/gdi32/driver.c
+++ b/dlls/gdi32/driver.c
@@ -1225,6 +1225,7 @@ INT WINAPI ExtEscape( HDC hdc, INT nEscape, INT cbInput, LPCSTR lpszInData,
     if (dc)
     {
         PHYSDEV physdev = GET_DC_PHYSDEV( dc, pExtEscape );
+        update_dc( dc );
         ret = physdev->funcs->pExtEscape( physdev, nEscape, cbInput, lpszInData, cbOutput, lpszOutData );
         release_dc_ptr( dc );
     }




More information about the wine-cvs mailing list