gallium: fix bug in draw_num_vs_outputs()
authorBrian <brian.paul@tungstengraphics.com>
Thu, 13 Mar 2008 23:04:56 +0000 (17:04 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 13 Mar 2008 23:04:56 +0000 (17:04 -0600)
src/gallium/auxiliary/draw/draw_context.c

index 3d09d9585189fe979f8cc9b62d2398f692b5ef1d..e8473a4c572dba5ca644c27524662a778609f64b 100644 (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;
 }