summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-01-12 08:46:40 -0700
committerBrian Paul <[email protected]>2016-01-13 08:02:25 -0700
commit9638c03a4ead3f3f2dd4f349e91ef207cc7c74fd (patch)
treef77fb9d48a43de10ff4c733ffc77f8375d6700e1
parent235a2995345f330b1af0ac9d11a22343d5934356 (diff)
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 <[email protected]>
-rw-r--r--src/mesa/drivers/common/meta.h2
-rw-r--r--src/mesa/drivers/common/meta_blit.c2
2 files changed, 2 insertions, 2 deletions
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,