r600g: fixup assertion

This commit is contained in:
Marek Olšák 2011-02-08 18:18:13 +01:00
parent 71df812146
commit 69e5516308
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ static void r600_buffer_transfer_inline_write(struct pipe_context *pipe,
struct r600_resource_buffer *rbuffer = r600_buffer(resource);
uint8_t *map = NULL;
assert(rbuffer->b.user_ptr == NULL);
assert(rbuffer->r.b.user_ptr == NULL);
map = r600_bo_map(ws, rbuffer->r.bo,
PIPE_TRANSFER_WRITE | PIPE_TRANSFER_DISCARD | usage,