summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2013-07-04 10:30:47 -0700
committerKenneth Graunke <kenneth@whitecape.org>2013-07-09 14:09:21 -0700
commite0858763bcdb96b49dce7aca0d6b593d41621178 (patch)
tree096da5b5716758f62aa0c9677ffcfebfb4fb6406 /src/mesa/drivers/dri
parenta1d94cdb00b66a283a6098dd0dbfe6d23d7ab7b5 (diff)
i965: Store brw_context as the DRI driver private, not intel_context.
Right now, they're interchangeable. In the future, intel_context will either go away or change purpose. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Chris Forbes <chrisf@ijw.co.nz> Acked-by: Paul Berry <stereotype441@gmail.com> Acked-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/intel_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c
index 9ba6d6ca80e..b89961aff5a 100644
--- a/src/mesa/drivers/dri/i965/intel_context.c
+++ b/src/mesa/drivers/dri/i965/intel_context.c
@@ -472,7 +472,7 @@ intelInitContext(struct brw_context *brw,
return false;
}
- driContextPriv->driverPrivate = intel;
+ driContextPriv->driverPrivate = brw;
brw->driContext = driContextPriv;
intel->driFd = sPriv->fd;