[PATCH 3/5] gdi32: Update the DC in ExtEscape().

Henri Verbeet hverbeet at codeweavers.com
Tue Oct 25 14:20:27 CDT 2011


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 d2883a7..5235c82 100644
--- a/dlls/gdi32/driver.c
+++ b/dlls/gdi32/driver.c
@@ -1212,6 +1212,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 );
     }
-- 
1.7.3.4




More information about the wine-patches mailing list