OSDN Git Service

i965: Fix a "discards 'const' qualifier" warning.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 19 May 2014 06:36:19 +0000 (23:36 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 19 May 2014 06:36:48 +0000 (23:36 -0700)
Trivial.

src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c

index e369001..61f6f51 100644 (file)
@@ -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);