aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/dri_util.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-02-11 17:10:19 -0500
committerKristian Høgsberg <[email protected]>2010-02-12 16:30:38 -0500
commit93931d9e684cd5a5659c3f28f8da7294ac174542 (patch)
treec12bb7bddb15702167cb6adecfa0d82f399ad74d /src/mesa/drivers/dri/common/dri_util.c
parentfd40b9ff32ac0ed02928a2b5516c8d678431806f (diff)
dri: Store the loader private passed in at dri context creation
We just threw it away before, but we haven't had a use for it yet.
Diffstat (limited to 'src/mesa/drivers/dri/common/dri_util.c')
-rw-r--r--src/mesa/drivers/dri/common/dri_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c
index 3649c296662..f5e7923835f 100644
--- a/src/mesa/drivers/dri/common/dri_util.c
+++ b/src/mesa/drivers/dri/common/dri_util.c
@@ -581,7 +581,8 @@ driCreateNewContext(__DRIscreen *psp, const __DRIconfig *config,
pcp->driScreenPriv = psp;
pcp->driDrawablePriv = NULL;
-
+ pcp->loaderPrivate = data;
+
/* When the first context is created for a screen, initialize a "dummy"
* context.
*/