summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-05-10 12:17:52 -0700
committerEric Anholt <[email protected]>2013-05-17 13:04:05 -0700
commita5b0452400dd6c2fd2a0921584f6fcee915a8b62 (patch)
treec5fcb6595066e70304bd2c32349947b0bbe7b5c8 /src/mesa/drivers/dri/radeon
parente98c39c109f9b38d6bb97e3890382fdf66c25176 (diff)
mesa: Make FinishRenderTexture just take the renderbuffer being finished.
Now that the rb has a reference to the teximage, we didn't need anything else out of the attachment. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_fbo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_fbo.c b/src/mesa/drivers/dri/radeon/radeon_fbo.c
index 1fdcf056562..63bc7e8ab64 100644
--- a/src/mesa/drivers/dri/radeon/radeon_fbo.c
+++ b/src/mesa/drivers/dri/radeon/radeon_fbo.c
@@ -850,10 +850,9 @@ radeon_render_texture(struct gl_context * ctx,
}
static void
-radeon_finish_render_texture(struct gl_context * ctx,
- struct gl_renderbuffer_attachment *att)
+radeon_finish_render_texture(struct gl_context *ctx, struct gl_renderbuffer *rb)
{
- struct gl_texture_image *image = att->Renderbuffer->TexImage;
+ struct gl_texture_image *image = rb->TexImage;
radeon_texture_image *radeon_image = (radeon_texture_image *)image;
if (radeon_image)