diff options
author | Brian Paul <brianp@vmware.com> | 2009-08-26 12:01:23 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-08-26 12:01:23 -0600 |
commit | 476290946e7bd3b7fe5688622127d8c6a9c7f367 (patch) | |
tree | ba31a644465765c2689877aa1626e479826ae301 /src/mesa/vbo | |
parent | 2bcf787de1884dff34749d308eb245da457ef649 (diff) | |
parent | 488b3c4d1bc3d830477180759a42dbaf8f5801b0 (diff) |
Merge branch 'mesa_7_5_branch'
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r-- | src/mesa/vbo/vbo_exec_draw.c | 1 |
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 625452ac09..53fa90b8af 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 |