i965: Store brw_context as the DRI driver private, not intel_context.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 4 Jul 2013 17:30:47 +0000 (10:30 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 9 Jul 2013 21:09:21 +0000 (14:09 -0700)
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>
src/mesa/drivers/dri/i965/intel_context.c

index 9ba6d6ca80e6b9b8d37221d66b91cbceba179613..b89961aff5a1fea2ace652b2c6d946b7c445f030 100644 (file)
@@ -472,7 +472,7 @@ intelInitContext(struct brw_context *brw,
       return false;
    }
 
-   driContextPriv->driverPrivate = intel;
+   driContextPriv->driverPrivate = brw;
    brw->driContext = driContextPriv;
    intel->driFd = sPriv->fd;