projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac39441
)
invert draw_vertex_cache_check_space()
author
Brian
<brian.paul@tungstengraphics.com>
Fri, 21 Sep 2007 18:37:13 +0000
(12:37 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Fri, 21 Sep 2007 18:37:13 +0000
(12:37 -0600)
src/mesa/pipe/draw/draw_prim.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/draw/draw_prim.c
b/src/mesa/pipe/draw/draw_prim.c
index a90d1df7f9f7bee9e88e6b890cc526491abfe4d8..e82e48b90b8f3bf0f1868f108d3e6977e0e4fe83 100644
(file)
--- 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 );
}