st/mesa: fix fallout from xfb changes.
[mesa.git] / src / mesa / vbo / vbo_exec_draw.c
index ed5d9e947b07580fcf38565a45c566cef76b4451..0d42618f2469f2992025d82ee511c1898a859261 100644 (file)
@@ -117,6 +117,7 @@ vbo_copy_vertices( struct vbo_exec_context *exec )
           * subtract one from last_prim->start) so that we copy the 0th vertex
           * to the next vertex buffer.
           */
+         assert(last_prim->start > 0);
          src -= sz;
       }
       /* fall-through */