diff options
author | Kenneth Graunke <[email protected]> | 2013-07-06 00:46:38 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-07-09 14:09:35 -0700 |
commit | 8c9a54e7bcfc80295ad77097910d35958dfd3644 (patch) | |
tree | 756737ac6b3f31d4a5003f12539dbcff5a910de0 /src/mesa/drivers/dri/i965/brw_clear.c | |
parent | 53631be4ebaa4fb13a7f129727c1cdd32fcc6f3d (diff) |
i965: Delete intel_context entirely.
This makes brw_context inherit directly from gl_context; that was the
only thing left in intel_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/brw_clear.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_clear.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c index 216ab9e93a9..cb1c08461bb 100644 --- a/src/mesa/drivers/dri/i965/brw_clear.c +++ b/src/mesa/drivers/dri/i965/brw_clear.c @@ -208,7 +208,6 @@ static void brw_clear(struct gl_context *ctx, GLbitfield mask) { struct brw_context *brw = brw_context(ctx); - struct intel_context *intel = &brw->intel; struct gl_framebuffer *fb = ctx->DrawBuffer; bool partial_clear = ctx->Scissor.Enabled && !noop_scissor(ctx, fb); @@ -248,9 +247,9 @@ brw_clear(struct gl_context *ctx, GLbitfield mask) mask &= ~tri_mask; if (ctx->API == API_OPENGLES) { - _mesa_meta_Clear(&intel->ctx, tri_mask); + _mesa_meta_Clear(&brw->ctx, tri_mask); } else { - _mesa_meta_glsl_Clear(&intel->ctx, tri_mask); + _mesa_meta_glsl_Clear(&brw->ctx, tri_mask); } } |