summaryrefslogtreecommitdiff
path: root/src/glx
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@hinata.boston.redhat.com>2007-05-17 16:11:19 -0400
committerKristian Høgsberg <krh@redhat.com>2007-10-11 11:27:51 -0400
commitecdb45cb29e3209287cc297081596126e955ff2b (patch)
tree3aa68142b7438c2fb9af7d994e284ca88f6d0716 /src/glx
parent3eaec7dc5d9b859cd394288ba73ae7e692f26a50 (diff)
Convert a left-over private void * to __DRIcontext *.
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/x11/glxcmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/x11/glxcmds.c b/src/glx/x11/glxcmds.c
index a680c646d9..0a49e94586 100644
--- a/src/glx/x11/glxcmds.c
+++ b/src/glx/x11/glxcmds.c
@@ -395,8 +395,8 @@ CreateContext(Display *dpy, XVisualInfo *vis,
}
if (psc && psc->driScreen.private) {
- void * const shared = (shareList != NULL)
- ? shareList->driContext.private : NULL;
+ __DRIcontext *shared = (shareList != NULL)
+ ? &shareList->driContext : NULL;
if (!XF86DRICreateContextWithConfig(dpy, psc->scr,