glx: Fix another case of confusing driContext and dri2_context *
authorEric Anholt <eric@anholt.net>
Fri, 23 Jul 2010 22:02:14 +0000 (15:02 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 24 Jul 2010 03:58:12 +0000 (20:58 -0700)
src/glx/dri2_glx.c

index 1dae589bd8e5d573d6635361de47c1d54ea31120..49c7ce75024433414bc811f9a1b33e223d1989e9 100644 (file)
@@ -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;
    }