Commit 4e9646a7 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

winex11: Call sync_context for DC_GL_CHILD_WIN drawables before swapping buffers.

parent bd9e6081
...@@ -3220,6 +3220,7 @@ static BOOL glxdrv_wglSwapBuffers( HDC hdc ) ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment