winex11: Set copy mode when rendering OpenGL picture.

This commit is contained in:
Ivan Sinitsin 2008-09-30 11:02:54 +04:00 committed by Alexandre Julliard
parent 169f92b5a8
commit 7ea2738517
1 changed files with 1 additions and 0 deletions

View File

@ -2106,6 +2106,7 @@ void flush_gl_drawable(X11DRV_PDEVICE *physDev)
* flush the display make sure we copy up-to-date data */ * flush the display make sure we copy up-to-date data */
wine_tsx11_lock(); wine_tsx11_lock();
XFlush(gdi_display); XFlush(gdi_display);
XSetFunction(gdi_display, physDev->gc, GXcopy);
XCopyArea(gdi_display, src, physDev->drawable, physDev->gc, 0, 0, w, h, XCopyArea(gdi_display, src, physDev->drawable, physDev->gc, 0, 0, w, h,
physDev->dc_rect.left, physDev->dc_rect.top); physDev->dc_rect.left, physDev->dc_rect.top);
wine_tsx11_unlock(); wine_tsx11_unlock();