summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2013-04-29 07:36:27 -0400
committerRob Clark <[email protected]>2013-04-29 07:36:27 -0400
commit3900a0e4dfbd6c2207e12c022556580a7b73d61f (patch)
tree3e23379346b86e5772f4d4bd4c915adc69da999d
parent79f786f9367e0071916e1d3c25bfff00d114339c (diff)
freedreno: fix rebase screw-up
Add back 2nd arg to emit_vertexbufs() which got lost in rebase. Signed-off-by: Rob Clark <[email protected]>
-rw-r--r--src/gallium/drivers/freedreno/freedreno_vbo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_vbo.c b/src/gallium/drivers/freedreno/freedreno_vbo.c
index d3a6386ee4b..fe32d56f222 100644
--- a/src/gallium/drivers/freedreno/freedreno_vbo.c
+++ b/src/gallium/drivers/freedreno/freedreno_vbo.c
@@ -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);