summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_pipe_clip.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-03-07 08:10:56 -0700
committerBrian Paul <[email protected]>2013-03-07 08:11:12 -0700
commit057c46d791112a04f02f5fe8fb2956b021c583f3 (patch)
tree0336f63b029e599e0572e73ac6234387e6d71fea /src/gallium/auxiliary/draw/draw_pipe_clip.c
parent9915636fb8afe75ee2e8e013e4f495a4cb937afb (diff)
draw: add const qualifier to silence compiler warning
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pipe_clip.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe_clip.c2
1 files changed, 1 insertions, 1 deletions
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