summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-05-18 23:36:19 -0700
committerKenneth Graunke <[email protected]>2014-05-18 23:36:48 -0700
commit13edd5f6160fce73369afbbf937b5e7ef646a4cc (patch)
tree45a1e949dedd5652ca49e8adaef789f9a82515ab /src/mesa/drivers
parent09b4f260a7ffbfc5a097bf80d5269469adbce647 (diff)
i965: Fix a "discards 'const' qualifier" warning.
Trivial.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c2
1 files changed, 1 insertions, 1 deletions
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);