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

This commit is contained in:
Henri Verbeet 2013-04-23 13:21:30 +02:00 committed by Alexandre Julliard
parent e35c8d9229
commit 5206e512e2
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{