gallium: comments
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 24 Apr 2008 21:58:46 +0000 (15:58 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 24 Apr 2008 21:58:46 +0000 (15:58 -0600)
src/gallium/auxiliary/draw/draw_pipe.c

index 1c9d8650e2d48075639c0f4ca55103ed2fdb0b6e..46afb0f41f721a421924a3b00f72bbf136220dcc 100644 (file)
@@ -194,14 +194,14 @@ void draw_pipeline_run( struct draw_context *draw,
    case PIPE_PRIM_LINES:
       for (i = 0; i+1 < count; i += 2) 
          do_line( draw, 
-                  elts[i+0],
+                  elts[i+0],  /* flags */
                   verts + stride * (elts[i+0] & ~DRAW_PIPE_FLAG_MASK),
                   verts + stride * elts[i+1]);
       break;
    case PIPE_PRIM_TRIANGLES:
       for (i = 0; i+2 < count; i += 3)
          do_triangle( draw, 
-                      elts[i+0],
+                      elts[i+0],  /* flags */
                       verts + stride * (elts[i+0] & ~DRAW_PIPE_FLAG_MASK),
                       verts + stride * elts[i+1],
                       verts + stride * elts[i+2]);