summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-04-24 15:58:46 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-04-24 15:58:46 -0600
commit909894e34ca5e575ce21005e38dc0b5e98e4bcd6 (patch)
treedf6284c67aa738e76dfb32157297285d3b60bef8 /src
parentda8312a1cf73d0777d51c63148ee090a9acace8b (diff)
gallium: comments
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe.c b/src/gallium/auxiliary/draw/draw_pipe.c
index 1c9d8650e2..46afb0f41f 100644
--- a/src/gallium/auxiliary/draw/draw_pipe.c
+++ b/src/gallium/auxiliary/draw/draw_pipe.c
@@ -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]);