summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a2xx
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-11-05 10:42:13 -0500
committerRob Clark <[email protected]>2014-11-14 13:59:31 -0500
commite091c08089f43e0a4f4edf8e5e24f2617364f044 (patch)
tree356622a500d54cfec88fdea07af45dce44faeef9 /src/gallium/drivers/freedreno/a2xx
parent2f024d2b1067496fad292efd2ca1b0ac9702a4dd (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx')
-rw-r--r--src/gallium/drivers/freedreno/a2xx/fd2_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_draw.c b/src/gallium/drivers/freedreno/a2xx/fd2_draw.c
index 6c1a5904332..764f3be22d4 100644
--- a/src/gallium/drivers/freedreno/a2xx/fd2_draw.c
+++ b/src/gallium/drivers/freedreno/a2xx/fd2_draw.c
@@ -80,7 +80,7 @@ emit_vertexbufs(struct fd_context *ctx)
}
static void
-fd2_draw(struct fd_context *ctx, const struct pipe_draw_info *info)
+fd2_draw_vbo(struct fd_context *ctx, const struct pipe_draw_info *info)
{
struct fd_ringbuffer *ring = ctx->ring;
@@ -276,6 +276,6 @@ void
fd2_draw_init(struct pipe_context *pctx)
{
struct fd_context *ctx = fd_context(pctx);
- ctx->draw = fd2_draw;
+ ctx->draw_vbo = fd2_draw_vbo;
ctx->clear = fd2_clear;
}