gallium: fix bug in draw_num_vs_outputs()

This commit is contained in:
Brian 2008-03-13 17:04:56 -06:00
parent cf106789ab
commit ce49c4c24b

View file

@ -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;
}