From: Brian Paul Date: Tue, 10 Jan 2012 19:40:10 +0000 (-0700) Subject: draw: remove unused 'so' variable in draw_pt_so_emit() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8597c986d739212024bcb663470b929095230a12;p=mesa.git draw: remove unused 'so' variable in draw_pt_so_emit() --- 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;