diff options
author | Henri Verbeet <[email protected]> | 2011-07-18 00:42:27 +0200 |
---|---|---|
committer | Henri Verbeet <[email protected]> | 2011-07-18 01:36:07 +0200 |
commit | 3093cbaad9962df8ad35f2c1c42d6b1259381498 (patch) | |
tree | 0d5854a5ef2c43c783c6b2bdc3f401dc627278e0 /src/gallium/drivers/r600/r600_pipe.c | |
parent | 66f4ac988d5053c9782d1390541b04f4d9c50078 (diff) |
r600g: Get rid of leftover PB_USAGE_* flags.
These happen to work because their values are the same as the equivalent
PIPE_TRANSFER_* flags, but it's still misleading.
Signed-off-by: Henri Verbeet <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 65b12de79b1..615f0688eb3 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -62,7 +62,7 @@ static struct r600_fence *r600_create_fence(struct r600_pipe_context *ctx) R600_ERR("r600: failed to create bo for fence objects\n"); return NULL; } - ctx->fences.data = r600_bo_map(ctx->radeon, ctx->fences.bo, PB_USAGE_UNSYNCHRONIZED, NULL); + ctx->fences.data = r600_bo_map(ctx->radeon, ctx->fences.bo, PIPE_TRANSFER_UNSYNCHRONIZED, NULL); } if (!LIST_IS_EMPTY(&ctx->fences.pool)) { |