summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
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/swrast
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/swrast')
-rw-r--r--src/mesa/swrast/s_texrender.c4
-rw-r--r--src/mesa/swrast/swrast.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_texrender.c b/src/mesa/swrast/s_texrender.c
index 643f2bc2c24..751d7767b91 100644
--- a/src/mesa/swrast/s_texrender.c
+++ b/src/mesa/swrast/s_texrender.c
@@ -92,12 +92,12 @@ _swrast_render_texture(struct gl_context *ctx,
void
_swrast_finish_render_texture(struct gl_context *ctx,
- struct gl_renderbuffer_attachment *att)
+ struct gl_renderbuffer *rb)
{
/* do nothing */
/* The renderbuffer texture wrapper will get deleted by the
* normal mechanism for deleting renderbuffers.
*/
(void) ctx;
- (void) att;
+ (void) rb;
}
diff --git a/src/mesa/swrast/swrast.h b/src/mesa/swrast/swrast.h
index e437c0a2459..359a985fdea 100644
--- a/src/mesa/swrast/swrast.h
+++ b/src/mesa/swrast/swrast.h
@@ -270,7 +270,7 @@ _swrast_render_texture(struct gl_context *ctx,
extern void
_swrast_finish_render_texture(struct gl_context *ctx,
- struct gl_renderbuffer_attachment *att);
+ struct gl_renderbuffer *rb);
/**