Ivan Sinitsin : winex11: Set copy mode when rendering OpenGL picture.

Alexandre Julliard julliard at winehq.org
Wed Oct 15 10:08:55 CDT 2008


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

Author: Ivan Sinitsin <ivan at etersoft.ru>
Date:   Tue Sep 30 11:02:54 2008 +0400

winex11: Set copy mode when rendering OpenGL picture.

---

 dlls/winex11.drv/opengl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 3f6d131..bf1a9b6 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -2106,6 +2106,7 @@ void flush_gl_drawable(X11DRV_PDEVICE *physDev)
          * flush the display make sure we copy up-to-date data */
         wine_tsx11_lock();
         XFlush(gdi_display);
+        XSetFunction(gdi_display, physDev->gc, GXcopy);
         XCopyArea(gdi_display, src, physDev->drawable, physDev->gc, 0, 0, w, h,
                   physDev->dc_rect.left, physDev->dc_rect.top);
         wine_tsx11_unlock();




More information about the wine-cvs mailing list