summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_pt.c
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2008-05-01 23:54:39 -0400
committerZack Rusin <[email protected]>2008-05-08 15:26:03 -0400
commit90a46ed277cc887d49c8d8c627174c3bd693ecf7 (patch)
tree718e00dda806d1d44abc0fe388d2b63eb62f0719 /src/gallium/auxiliary/draw/draw_pt.c
parent2abc1b3641e435e0b68490fa6b0a7ffa7c030c76 (diff)
split larger primitives in the simple varray pt
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c
index c9c5d183135..bccde6c5fd2 100644
--- a/src/gallium/auxiliary/draw/draw_pt.c
+++ b/src/gallium/auxiliary/draw/draw_pt.c
@@ -80,8 +80,7 @@ draw_pt_arrays(struct draw_context *draw,
/* Pick the right frontend
*/
- if (draw->pt.user.elts ||
- count >= 256) {
+ if (draw->pt.user.elts) {
frontend = draw->pt.front.vcache;
} else {
frontend = draw->pt.front.varray;