draw: remove unused 'so' variable in draw_pt_so_emit()
authorBrian Paul <brianp@vmware.com>
Tue, 10 Jan 2012 19:40:10 +0000 (12:40 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 10 Jan 2012 19:40:10 +0000 (12:40 -0700)
src/gallium/auxiliary/draw/draw_pt_so_emit.c

index d4182a843ca24fa52ae39bae8773715c3face6cd..466f46abab38b97fcb41e47288e95ad3bb42f2da 100644 (file)
@@ -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;