projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fd84b1
)
gallium/draw: forgot about PIPE_PRIM_LINE_STRIP_ADJACENCY
author
Zack Rusin
<zackr@vmware.com>
Tue, 3 Aug 2010 20:02:09 +0000
(16:02 -0400)
committer
Zack Rusin
<zackr@vmware.com>
Tue, 3 Aug 2010 20:02:09 +0000
(16:02 -0400)
src/gallium/auxiliary/util/u_prim.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_prim.h
b/src/gallium/auxiliary/util/u_prim.h
index 63ddc864756554a615721bc681915c365fff982a..3c851f73401a4d6a244aa7affd4947954eff6b35 100644
(file)
--- 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);