summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-09-21 12:37:13 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-09-21 12:37:13 -0600
commit1ae7373ac520c277d9aa7b915526bb0e1567b9a5 (patch)
treed01fc5f4a16a26413f291ea0346a162d9a89a5a4 /src/mesa
parentac394414fcf244186557fbfa18e7962fa05dc39a (diff)
invert draw_vertex_cache_check_space()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/pipe/draw/draw_prim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_prim.c b/src/mesa/pipe/draw/draw_prim.c
index a90d1df7f9..e82e48b90b 100644
--- a/src/mesa/pipe/draw/draw_prim.c
+++ b/src/mesa/pipe/draw/draw_prim.c
@@ -107,7 +107,7 @@ static struct prim_header *get_queued_prim( struct draw_context *draw,
unsigned nr_verts )
{
if (draw->pq.queue_nr + 1 >= PRIM_QUEUE_LENGTH ||
- draw_vertex_cache_check_space( draw, nr_verts ))
+ !draw_vertex_cache_check_space( draw, nr_verts ))
{
draw_flush( draw );
}