summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-07-23 15:02:14 -0700
committerEric Anholt <eric@anholt.net>2010-07-23 20:58:12 -0700
commitaf6a2aede696ad3c45798d6c28aa04e8f5035e6e (patch)
treefa0a1a7b077c6cb4f11aac98e481dd3baa2fe1ae /src
parent566373967a6a63b6a9c85a2392bc827ac7ef679f (diff)
glx: Fix another case of confusing driContext and dri2_context *
Diffstat (limited to 'src')
-rw-r--r--src/glx/dri2_glx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index 1dae589bd8..49c7ce7502 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;
}