From: Brian Paul Date: Tue, 12 Jan 2016 15:46:40 +0000 (-0700) Subject: meta: remove const qualifier on _mesa_meta_fb_tex_blit_begin() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9638c03a4ead3f3f2dd4f349e91ef207cc7c74fd;p=mesa.git 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 --- 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,