projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
991479e
)
draw: remove unused 'so' variable in draw_pt_so_emit()
author
Brian Paul
<brianp@vmware.com>
Tue, 10 Jan 2012 19:40:10 +0000
(12:40 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 10 Jan 2012 19:40:10 +0000
(12:40 -0700)
src/gallium/auxiliary/draw/draw_pt_so_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pt_so_emit.c
b/src/gallium/auxiliary/draw/draw_pt_so_emit.c
index d4182a843ca24fa52ae39bae8773715c3face6cd..466f46abab38b97fcb41e47288e95ad3bb42f2da 100644
(file)
--- 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;