From: Zack Rusin Date: Tue, 3 Aug 2010 20:02:09 +0000 (-0400) Subject: gallium/draw: forgot about PIPE_PRIM_LINE_STRIP_ADJACENCY X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f9d3516a4f5b8abc9e8510dbccd93bf7874e6da;p=mesa.git gallium/draw: forgot about PIPE_PRIM_LINE_STRIP_ADJACENCY --- diff --git a/src/gallium/auxiliary/util/u_prim.h b/src/gallium/auxiliary/util/u_prim.h index 63ddc864756..3c851f73401 100644 --- a/src/gallium/auxiliary/util/u_prim.h +++ b/src/gallium/auxiliary/util/u_prim.h @@ -113,6 +113,7 @@ static INLINE boolean u_trim_pipe_prim( unsigned pipe_prim, unsigned *nr ) *nr -= (*nr % 4); break; case PIPE_PRIM_LINE_STRIP_ADJACENCY: + ok = (*nr >= 4); break; case PIPE_PRIM_TRIANGLES_ADJACENCY: ok = (*nr >= 6);