mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 20:18:28 +00:00
winex11: Call sync_context for DC_GL_CHILD_WIN drawables before swapping buffers.
This commit is contained in:
parent
bd9e608133
commit
4e9646a7f7
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue