diff options
author | Kenneth Graunke <[email protected]> | 2013-07-04 10:30:01 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-07-09 14:09:20 -0700 |
commit | a1d94cdb00b66a283a6098dd0dbfe6d23d7ab7b5 (patch) | |
tree | aaf7ee8699bac6cb2776e73400884f9759046a76 /src/mesa/drivers/dri/i965/intel_context.c | |
parent | a9d33dbbdd0d58240e9c15181237a9ac7f99932d (diff) |
i965: Move intel_context::driContext to brw_context.
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]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_context.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c index 10daa58db09..9ba6d6ca80e 100644 --- a/src/mesa/drivers/dri/i965/intel_context.c +++ b/src/mesa/drivers/dri/i965/intel_context.c @@ -129,7 +129,7 @@ intel_flush_front(struct gl_context *ctx) { struct brw_context *brw = brw_context(ctx); struct intel_context *intel = intel_context(ctx); - __DRIcontext *driContext = intel->driContext; + __DRIcontext *driContext = brw->driContext; __DRIdrawable *driDrawable = driContext->driDrawablePriv; __DRIscreen *const screen = intel->intelScreen->driScrnPriv; @@ -243,8 +243,7 @@ intel_update_renderbuffers(__DRIcontext *context, __DRIdrawable *drawable) void intel_prepare_render(struct brw_context *brw) { - struct intel_context *intel = &brw->intel; - __DRIcontext *driContext = intel->driContext; + __DRIcontext *driContext = brw->driContext; __DRIdrawable *drawable; drawable = driContext->driDrawablePriv; @@ -474,7 +473,7 @@ intelInitContext(struct brw_context *brw, } driContextPriv->driverPrivate = intel; - intel->driContext = driContextPriv; + brw->driContext = driContextPriv; intel->driFd = sPriv->fd; intel->gen = intelScreen->gen; |