summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2010-08-03 16:02:09 -0400
committerZack Rusin <[email protected]>2010-08-03 16:02:09 -0400
commit6f9d3516a4f5b8abc9e8510dbccd93bf7874e6da (patch)
treece756324df83b8f0c5e87b3e768079f9266ac5cf /src/gallium
parent1fd84b10f269a32db66254aa567b1aad8b152fe8 (diff)
gallium/draw: forgot about PIPE_PRIM_LINE_STRIP_ADJACENCY
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/util/u_prim.h1
1 files changed, 1 insertions, 0 deletions
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);