projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9915636
)
draw: add const qualifier to silence compiler warning
author
Brian Paul
<brianp@vmware.com>
Thu, 7 Mar 2013 15:10:56 +0000
(08:10 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 7 Mar 2013 15:11:12 +0000
(08:11 -0700)
src/gallium/auxiliary/draw/draw_pipe_clip.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pipe_clip.c
b/src/gallium/auxiliary/draw/draw_pipe_clip.c
index eeaaf41f719af0ce267a8dddaa465af7fbcb8083..8da0c41390fd2269dcf8139b197e9a74104c61ea 100644
(file)
--- 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