aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/meta.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-01-12 18:21:18 -0800
committerIan Romanick <[email protected]>2018-01-02 16:23:51 -0800
commit29a948e06d49ef113014020b74434b1223ba44f2 (patch)
tree18203f4bbc307a025ddd40f0c7ed3ae9a8233a19 /src/mesa/drivers/common/meta.h
parent44e153616d5f6b02a527510c196dee9ca368542f (diff)
meta/blit: Since _mesa_meta_bind_rb_as_tex_image has only one output, return it
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta.h')
-rw-r--r--src/mesa/drivers/common/meta.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/drivers/common/meta.h b/src/mesa/drivers/common/meta.h
index 128c342fba1..a41de8bfea6 100644
--- a/src/mesa/drivers/common/meta.h
+++ b/src/mesa/drivers/common/meta.h
@@ -462,10 +462,9 @@ extern void
_mesa_meta_fb_tex_blit_end(struct gl_context *ctx, GLenum target,
struct fb_tex_blit_state *blit);
-extern GLboolean
+extern struct gl_texture_object *
_mesa_meta_bind_rb_as_tex_image(struct gl_context *ctx,
- struct gl_renderbuffer *rb,
- struct gl_texture_object **texObj);
+ struct gl_renderbuffer *rb);
struct gl_sampler_object *
_mesa_meta_setup_sampler(struct gl_context *ctx,