meta: remove const qualifier on _mesa_meta_fb_tex_blit_begin()
authorBrian Paul <brianp@vmware.com>
Tue, 12 Jan 2016 15:46:40 +0000 (08:46 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 13 Jan 2016 15:02:25 +0000 (08:02 -0700)
To silence a compiler warning about a const/non-const mismatch.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/common/meta.h
src/mesa/drivers/common/meta_blit.c

index d7d8fd38d896da31636bc70eade923ff0f4900b5..3691e7d6123228dfb31bda3e5b6c8f6ea9f3d8fb 100644 (file)
@@ -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
index 78434cfdcfe967b09ee14fd72db894c5f25569e3..b414dce88199e51747e7340b94e2c3fbf5da77f4 100644 (file)
@@ -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,