summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-26 12:01:23 -0600
committerBrian Paul <[email protected]>2009-08-26 12:01:23 -0600
commit476290946e7bd3b7fe5688622127d8c6a9c7f367 (patch)
treeba31a644465765c2689877aa1626e479826ae301 /src/mesa/vbo
parent2bcf787de1884dff34749d308eb245da457ef649 (diff)
parent488b3c4d1bc3d830477180759a42dbaf8f5801b0 (diff)
Merge branch 'mesa_7_5_branch'
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r--src/mesa/vbo/vbo_exec_draw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_exec_draw.c b/src/mesa/vbo/vbo_exec_draw.c
index 625452ac09a..53fa90b8afa 100644
--- a/src/mesa/vbo/vbo_exec_draw.c
+++ b/src/mesa/vbo/vbo_exec_draw.c
@@ -398,6 +398,7 @@ vbo_exec_vtx_flush( struct vbo_exec_context *exec, GLboolean unmap )
vbo_exec_vtx_unmap( exec );
}
+
if (unmap || exec->vtx.vertex_size == 0)
exec->vtx.max_vert = 0;
else