summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common/dri_sw.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsapountzis@gmail.com>2010-03-14 11:36:45 +0200
committerGeorge Sapountzis <gsapountzis@gmail.com>2010-03-15 01:17:17 +0200
commitcf8a1caa231b748d3ba7c776ab076ad3de99e963 (patch)
tree97da7f8c27abbdd8c991a667ea01d52145858e66 /src/mesa/drivers/dri/common/dri_sw.c
parent6e376485c10896229f7bfaf5b0cce9c8b67f61b1 (diff)
dri/swrast: port to dri_sw (context)
Diffstat (limited to 'src/mesa/drivers/dri/common/dri_sw.c')
-rw-r--r--src/mesa/drivers/dri/common/dri_sw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/dri_sw.c b/src/mesa/drivers/dri/common/dri_sw.c
index 4b87a7f32f..b7f9036f47 100644
--- a/src/mesa/drivers/dri/common/dri_sw.c
+++ b/src/mesa/drivers/dri/common/dri_sw.c
@@ -99,7 +99,7 @@ driCreateNewContext(__DRIscreen *psp, const __DRIconfig *config,
__DRIcontext *shared, void *data)
{
__DRIcontext *pcp;
- void * const shareCtx = (shared != NULL) ? &shared->Base : NULL;
+ void * const shareCtx = (shared != NULL) ? shared->driverPrivate : NULL;
pcp = CALLOC_STRUCT(__DRIcontextRec);
if (!pcp)