freedreno: fix rebase screw-up 63/6263/1
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 d3a6386..fe32d56 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);