From 9638c03a4ead3f3f2dd4f349e91ef207cc7c74fd Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 12 Jan 2016 08:46:40 -0700 Subject: meta: remove const qualifier on _mesa_meta_fb_tex_blit_begin() To silence a compiler warning about a const/non-const mismatch. Reviewed-by: Ian Romanick --- src/mesa/drivers/common/meta.h | 2 +- src/mesa/drivers/common/meta_blit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mesa/drivers/common/meta.h b/src/mesa/drivers/common/meta.h index d7d8fd38d89..3691e7d6123 100644 --- a/src/mesa/drivers/common/meta.h +++ b/src/mesa/drivers/common/meta.h @@ -453,7 +453,7 @@ _mesa_meta_in_progress(struct gl_context *ctx) } extern void -_mesa_meta_fb_tex_blit_begin(const struct gl_context *ctx, +_mesa_meta_fb_tex_blit_begin(struct gl_context *ctx, struct fb_tex_blit_state *blit); extern void diff --git a/src/mesa/drivers/common/meta_blit.c b/src/mesa/drivers/common/meta_blit.c index 78434cfdcfe..b414dce8819 100644 --- a/src/mesa/drivers/common/meta_blit.c +++ b/src/mesa/drivers/common/meta_blit.c @@ -807,7 +807,7 @@ blitframebuffer_texture(struct gl_context *ctx, } void -_mesa_meta_fb_tex_blit_begin(const struct gl_context *ctx, +_mesa_meta_fb_tex_blit_begin(struct gl_context *ctx, struct fb_tex_blit_state *blit) { /* None of the existing callers preinitialize fb_tex_blit_state to zeros, -- cgit v1.2.3