summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-02-08 18:18:13 +0100
committerMarek Olšák <[email protected]>2011-02-08 18:18:13 +0100
commit69e5516308095efe12e557fd3d60d0caae514a36 (patch)
treed17f250613da44007eba3a1d913d073fa04fdc74 /src/gallium
parent71df812146ae316d9d371be3436e90da79435be9 (diff)
r600g: fixup assertion
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/r600_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_buffer.c b/src/gallium/drivers/r600/r600_buffer.c
index 183e34720a9..0c5d7133c7a 100644
--- a/src/gallium/drivers/r600/r600_buffer.c
+++ b/src/gallium/drivers/r600/r600_buffer.c
@@ -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,