From 5206e512e26619487017f8a7536d3e6baaf23342 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 23 Apr 2013 13:21:30 +0200 Subject: [PATCH] winex11: Don't ignore hShareContext in X11DRV_wglCreateContextAttribsARB(). --- dlls/winex11.drv/opengl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index 6dd07fa40d..c617245cab 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -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) { -- 2.32.0.93.g670b81a890