From: Kenneth Graunke Date: Mon, 19 May 2014 06:36:19 +0000 (-0700) Subject: i965: Fix a "discards 'const' qualifier" warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13edd5f6160fce73369afbbf937b5e7ef646a4cc;p=mesa.git i965: Fix a "discards 'const' qualifier" warning. Trivial. --- diff --git a/src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c b/src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c index e36900154e5..61f6f51ac98 100644 --- a/src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c +++ b/src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c @@ -276,7 +276,7 @@ setup_program(struct gl_context *ctx, bool msaa_tex) { struct blit_state *blit = &ctx->Meta->Blit; static GLuint prog_cache[] = { 0, 0 }; - const char *fs_source; + char *fs_source; const struct sampler_and_fetch *sampler = &samplers[msaa_tex]; _mesa_meta_setup_vertex_objects(&blit->VAO, &blit->VBO, true, 2, 2, 0);