summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-03-13 17:04:56 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-03-13 17:04:56 -0600
commitce49c4c24bf72ea642015d566ff687d512574fd5 (patch)
tree2ebfaa649314f12e1d2320f9cfa060f12f303780 /src
parentcf106789abd4a84e8f07dc6ca12d2261e9bf92cd (diff)
gallium: fix bug in draw_num_vs_outputs()
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/draw/draw_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c
index 3d09d95851..e8473a4c57 100644
--- a/src/gallium/auxiliary/draw/draw_context.c
+++ b/src/gallium/auxiliary/draw/draw_context.c
@@ -311,7 +311,7 @@ uint
draw_num_vs_outputs(struct draw_context *draw)
{
uint count = draw->vertex_shader->info.num_outputs;
- if (draw->extra_vp_outputs.slot >= 0)
+ if (draw->extra_vp_outputs.slot > 0)
count++;
return count;
}