diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-03-13 17:04:56 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-03-13 17:04:56 -0600 |
commit | ce49c4c24bf72ea642015d566ff687d512574fd5 (patch) | |
tree | 2ebfaa649314f12e1d2320f9cfa060f12f303780 /src/gallium | |
parent | cf106789abd4a84e8f07dc6ca12d2261e9bf92cd (diff) |
gallium: fix bug in draw_num_vs_outputs()
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.c | 2 |
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; } |