Sebastian Lackner : winex11: Call sync_context for DC_GL_CHILD_WIN drawables before swapping buffers.

Alexandre Julliard julliard at winehq.org
Wed Oct 2 15:49:13 CDT 2013


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

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Tue Oct  1 07:29:05 2013 +0200

winex11: Call sync_context for DC_GL_CHILD_WIN drawables before swapping buffers.

---

 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 3e8480b..e9a0433 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -3220,6 +3220,7 @@ static BOOL glxdrv_wglSwapBuffers( HDC hdc )
         pglXSwapBuffers(gdi_display, gl->drawable);
         break;
     case DC_GL_CHILD_WIN:
+        if (ctx) sync_context( ctx );
         escape.gl_drawable = gl->drawable;
         /* fall through */
     default:




More information about the wine-cvs mailing list