diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2013-07-06 00:46:38 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2013-07-09 14:09:35 -0700 |
commit | 8c9a54e7bcfc80295ad77097910d35958dfd3644 (patch) | |
tree | 756737ac6b3f31d4a5003f12539dbcff5a910de0 /src/mesa/drivers/dri/i965/intel_pixel_copy.c | |
parent | 53631be4ebaa4fb13a7f129727c1cdd32fcc6f3d (diff) | |
download | external_mesa3d-8c9a54e7bcfc80295ad77097910d35958dfd3644.zip external_mesa3d-8c9a54e7bcfc80295ad77097910d35958dfd3644.tar.gz external_mesa3d-8c9a54e7bcfc80295ad77097910d35958dfd3644.tar.bz2 |
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 <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>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_pixel_copy.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_pixel_copy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_pixel_copy.c b/src/mesa/drivers/dri/i965/intel_pixel_copy.c index 632b9b0..c935c4c 100644 --- a/src/mesa/drivers/dri/i965/intel_pixel_copy.c +++ b/src/mesa/drivers/dri/i965/intel_pixel_copy.c @@ -53,7 +53,6 @@ do_blit_copypixels(struct gl_context * ctx, GLint dstx, GLint dsty, GLenum type) { struct brw_context *brw = brw_context(ctx); - struct intel_context *intel = intel_context(ctx); struct gl_framebuffer *fb = ctx->DrawBuffer; struct gl_framebuffer *read_fb = ctx->ReadBuffer; GLint orig_dstx; @@ -145,7 +144,7 @@ do_blit_copypixels(struct gl_context * ctx, intel_prepare_render(brw); - intel_flush(&intel->ctx); + intel_flush(&brw->ctx); /* Clip to destination buffer. */ orig_dstx = dstx; |