Commit 5206e512 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

winex11: Don't ignore hShareContext in X11DRV_wglCreateContextAttribsARB().

parent e35c8d92
......@@ -1982,7 +1982,7 @@ static struct wgl_context *X11DRV_wglCreateContextAttribsARB( HDC hdc, struct wg
}
X11DRV_expect_error(gdi_display, GLXErrorHandler, NULL);
ret->ctx = create_glxcontext(gdi_display, ret, NULL);
ret->ctx = create_glxcontext(gdi_display, ret, hShareContext ? hShareContext->ctx : NULL);
XSync(gdi_display, False);
if ((err = X11DRV_check_error()) || !ret->ctx)
{
......
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