summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pipe_flatshade.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-05-13 13:40:22 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-05-23 09:16:55 +0100
commit2f0d1396e4c1626b3b1ac799bd29e86a9530369e (patch)
tree656eee841d239090fea83a5b50a2f600568a4bdc /src/gallium/auxiliary/draw/draw_pipe_flatshade.c
parentb23706454bb165a62888d264e95a98a2e4cf139c (diff)
draw: move some state into a new 'vs' area
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pipe_flatshade.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe_flatshade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_flatshade.c b/src/gallium/auxiliary/draw/draw_pipe_flatshade.c
index 09b68c4559..21a9c3b77f 100644
--- a/src/gallium/auxiliary/draw/draw_pipe_flatshade.c
+++ b/src/gallium/auxiliary/draw/draw_pipe_flatshade.c
@@ -159,7 +159,7 @@ static void flatshade_line_1( struct draw_stage *stage,
static void flatshade_init_state( struct draw_stage *stage )
{
struct flat_stage *flat = flat_stage(stage);
- const struct draw_vertex_shader *vs = stage->draw->vertex_shader;
+ const struct draw_vertex_shader *vs = stage->draw->vs.vertex_shader;
uint i;
/* Find which vertex shader outputs are colors, make a list */