Module: wine Branch: master Commit: 4e9646a7f74da5f91b164b0b0a411b4b1f3c731d URL: http://source.winehq.org/git/wine.git/?a=commit;h=4e9646a7f74da5f91b164b0b0a...
Author: Sebastian Lackner sebastian@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: