winex11: Call sync_context for DC_GL_CHILD_WIN drawables before swapping buffers.
This commit is contained in:
parent
bd9e608133
commit
4e9646a7f7
|
@ -3220,6 +3220,7 @@ static BOOL glxdrv_wglSwapBuffers( HDC hdc )
|
||||||
pglXSwapBuffers(gdi_display, gl->drawable);
|
pglXSwapBuffers(gdi_display, gl->drawable);
|
||||||
break;
|
break;
|
||||||
case DC_GL_CHILD_WIN:
|
case DC_GL_CHILD_WIN:
|
||||||
|
if (ctx) sync_context( ctx );
|
||||||
escape.gl_drawable = gl->drawable;
|
escape.gl_drawable = gl->drawable;
|
||||||
/* fall through */
|
/* fall through */
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue