summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-05-27 13:15:52 +0200
committerJakob Bornecrantz <[email protected]>2008-05-27 13:28:47 +0200
commit9f9f6c21be105de41a58128605b911e679efe8f0 (patch)
tree74e7661d118c457ea8c904b8c46f01f7bbb691fd /src/gallium
parent9752ebd99e16646fed3c14712fc0af2c34c9e48f (diff)
draw: Fixed typo in draw_pt_varray and added comments
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_varray.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_varray.c b/src/gallium/auxiliary/draw/draw_pt_varray.c
index 06fd866ccd0..260f28f2845 100644
--- a/src/gallium/auxiliary/draw/draw_pt_varray.c
+++ b/src/gallium/auxiliary/draw/draw_pt_varray.c
@@ -158,14 +158,14 @@ static INLINE void varray_point( struct varray_frontend *varray,
static unsigned decompose_prim[PIPE_PRIM_POLYGON + 1] = {
PIPE_PRIM_POINTS,
PIPE_PRIM_LINES,
+ PIPE_PRIM_LINES, /* decomposed LINELOOP */
PIPE_PRIM_LINE_STRIP,
- PIPE_PRIM_LINES, /* decomposed */
PIPE_PRIM_TRIANGLES,
PIPE_PRIM_TRIANGLE_STRIP,
- PIPE_PRIM_TRIANGLES, /* decomposed */
+ PIPE_PRIM_TRIANGLES, /* decomposed TRI_FAN */
PIPE_PRIM_QUADS,
PIPE_PRIM_QUAD_STRIP,
- PIPE_PRIM_TRIANGLES /* decomposed */
+ PIPE_PRIM_TRIANGLES /* decomposed POLYGON */
};