From 057c46d791112a04f02f5fe8fb2956b021c583f3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 7 Mar 2013 08:10:56 -0700 Subject: [PATCH] draw: add const qualifier to silence compiler warning --- src/gallium/auxiliary/draw/draw_pipe_clip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2