From: Brian Paul Date: Thu, 7 Mar 2013 15:10:56 +0000 (-0700) Subject: draw: add const qualifier to silence compiler warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=057c46d791112a04f02f5fe8fb2956b021c583f3;p=mesa.git draw: add const qualifier to silence compiler warning --- diff --git a/src/gallium/auxiliary/draw/draw_pipe_clip.c b/src/gallium/auxiliary/draw/draw_pipe_clip.c index eeaaf41f719..8da0c41390f 100644 --- a/src/gallium/auxiliary/draw/draw_pipe_clip.c +++ b/src/gallium/auxiliary/draw/draw_pipe_clip.c @@ -600,7 +600,7 @@ clip_init_state( struct draw_stage *stage ) const struct draw_geometry_shader *gs = stage->draw->gs.geometry_shader; const struct draw_fragment_shader *fs = stage->draw->fs.fragment_shader; uint i; - struct tgsi_shader_info *vs_info = gs ? &gs->info : &vs->info; + const struct tgsi_shader_info *vs_info = gs ? &gs->info : &vs->info; /* We need to know for each attribute what kind of interpolation is * done on it (flat, smooth or noperspective). But the information