summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pt.c
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-03-30 23:21:20 +0200
committerMichal Krol <michal@tungstengraphics.com>2008-03-30 23:21:20 +0200
commit63950b11b6060e4e0d06e0d14548ff132a295067 (patch)
tree53848ae0dff0734a18f5c094aa892491f9429bd7 /src/gallium/auxiliary/draw/draw_pt.c
parentfc9888014470286d8d651c569aaadf9cd69d8282 (diff)
draw: Do not run full pipeline when flatshade_first for point primitives.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c
index 3ec31ec25f..fc9304197a 100644
--- a/src/gallium/auxiliary/draw/draw_pt.c
+++ b/src/gallium/auxiliary/draw/draw_pt.c
@@ -36,6 +36,9 @@
#include "draw/draw_pt.h"
+/* XXX: Shouldn't those two functions below use the '>' operator???
+ */
+
static boolean too_many_verts( struct draw_context *draw,
unsigned verts )
{