freedreno: fix rebase screw-up
authorRob Clark <robclark@freedesktop.org>
Mon, 29 Apr 2013 11:36:27 +0000 (07:36 -0400)
committerRob Clark <robclark@freedesktop.org>
Mon, 29 Apr 2013 11:36:27 +0000 (07:36 -0400)
Add back 2nd arg to emit_vertexbufs() which got lost in rebase.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_vbo.c

index d3a6386ee4b58bf645f1f778c514353e4814810b..fe32d56f2226364f5e356079ea70b85341f4c498 100644 (file)
@@ -194,7 +194,7 @@ fd_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info)
        ctx->resolve |= buffers;
 
        if (ctx->dirty & FD_DIRTY_VTXBUF)
-               emit_vertexbufs(ctx);
+               emit_vertexbufs(ctx, info->count);
 
        fd_state_emit(pctx, ctx->dirty);