From 7e112c604edd083484a3602d5462400a0effeb78 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Tue, 6 Nov 2012 11:36:09 +0000 Subject: util: Fix reduction of line adjacency primitives. Reviewed-by: Brian Paul Reviewed-by: Roland Scheidegger --- src/gallium/auxiliary/util/u_prim.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/auxiliary/util') diff --git a/src/gallium/auxiliary/util/u_prim.h b/src/gallium/auxiliary/util/u_prim.h index 070df643d2c..d62c636f2ee 100644 --- a/src/gallium/auxiliary/util/u_prim.h +++ b/src/gallium/auxiliary/util/u_prim.h @@ -118,7 +118,9 @@ static INLINE unsigned u_reduced_prim( unsigned pipe_prim ) return PIPE_PRIM_POINTS; case PIPE_PRIM_LINES: + case PIPE_PRIM_LINES_ADJACENCY: case PIPE_PRIM_LINE_STRIP: + case PIPE_PRIM_LINE_STRIP_ADJACENCY: case PIPE_PRIM_LINE_LOOP: return PIPE_PRIM_LINES; -- cgit v1.2.3