From: Eric Anholt Date: Fri, 23 Jul 2010 22:02:14 +0000 (-0700) Subject: glx: Fix another case of confusing driContext and dri2_context * X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af6a2aede696ad3c45798d6c28aa04e8f5035e6e;p=mesa.git glx: Fix another case of confusing driContext and dri2_context * --- diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index 1dae589bd8e..49c7ce75024 100644 --- a/src/glx/dri2_glx.c +++ b/src/glx/dri2_glx.c @@ -165,7 +165,7 @@ dri2_create_context(__GLXscreenConfigs *base, __DRIcontext *shared = NULL; if (shareList) { - pcp_shared = (struct dri2_context *) shareList->driContext; + pcp_shared = (struct dri2_context *) shareList; shared = pcp_shared->driContext; }