summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-10 12:40:10 -0700
committerBrian Paul <[email protected]>2012-01-10 12:40:10 -0700
commit8597c986d739212024bcb663470b929095230a12 (patch)
treeea8eb21de4c51056ef53dd2c58b6f4e89975c195 /src/gallium/auxiliary/draw
parent991479ef51a04b7a6828b19571665401883ef916 (diff)
draw: remove unused 'so' variable in draw_pt_so_emit()
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_so_emit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_so_emit.c b/src/gallium/auxiliary/draw/draw_pt_so_emit.c
index d4182a843ca..466f46abab3 100644
--- a/src/gallium/auxiliary/draw/draw_pt_so_emit.c
+++ b/src/gallium/auxiliary/draw/draw_pt_so_emit.c
@@ -259,13 +259,11 @@ void draw_pt_so_emit( struct pt_so_emit *emit,
{
struct draw_context *draw = emit->draw;
struct vbuf_render *render = draw->render;
- struct pipe_stream_output_info *so;
unsigned start, i;
if (!emit->has_so)
return;
- so = &draw->vs.vertex_shader->state.stream_output;
emit->emitted_vertices = 0;
emit->emitted_primitives = 0;
emit->generated_primitives = 0;