From e091c08089f43e0a4f4edf8e5e24f2617364f044 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Wed, 5 Nov 2014 10:42:13 -0500 Subject: freedreno: rename draw->draw_vbo Gets rid of a namespace conflict w/ a4xx which wants an fd4_draw() version of fd_draw().. Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/a3xx/fd3_draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/freedreno/a3xx') diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_draw.c b/src/gallium/drivers/freedreno/a3xx/fd3_draw.c index c4e3d8dffe2..b289e76fa24 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_draw.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_draw.c @@ -111,7 +111,7 @@ fixup_shader_state(struct fd_context *ctx, struct ir3_shader_key *key) } static void -fd3_draw(struct fd_context *ctx, const struct pipe_draw_info *info) +fd3_draw_vbo(struct fd_context *ctx, const struct pipe_draw_info *info) { struct fd3_context *fd3_ctx = fd3_context(ctx); struct fd3_emit emit = { @@ -355,6 +355,6 @@ void fd3_draw_init(struct pipe_context *pctx) { struct fd_context *ctx = fd_context(pctx); - ctx->draw = fd3_draw; + ctx->draw_vbo = fd3_draw_vbo; ctx->clear = fd3_clear; } -- cgit v1.2.3