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>
This commit is contained in:
Kenneth Graunke 2013-07-04 10:30:47 -07:00
parent a1d94cdb00
commit e0858763bc

View 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;