summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-07-04 10:30:47 -0700
committerKenneth Graunke <[email protected]>2013-07-09 14:09:21 -0700
commite0858763bcdb96b49dce7aca0d6b593d41621178 (patch)
tree096da5b5716758f62aa0c9677ffcfebfb4fb6406
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 <[email protected]> Acked-by: Chris Forbes <[email protected]> Acked-by: Paul Berry <[email protected]> Acked-by: Anuj Phogat <[email protected]>
-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;