Mesa (master): glx: Fix another case of confusing driContext and dri2_context *
Eric Anholt
anholt at kemper.freedesktop.org
Sat Jul 24 03:59:16 UTC 2010
Module: Mesa
Branch: master
Commit: af6a2aede696ad3c45798d6c28aa04e8f5035e6e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=af6a2aede696ad3c45798d6c28aa04e8f5035e6e
Author: Eric Anholt <eric at anholt.net>
Date: Fri Jul 23 15:02:14 2010 -0700
glx: Fix another case of confusing driContext and dri2_context *
---
src/glx/dri2_glx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index 1dae589..49c7ce7 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;
}
More information about the mesa-commit
mailing list