summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_pt_varray.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_varray.c')
-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 */
};