r600g: add bo wait after map.

This commit is contained in:
Dave Airlie
2010-08-06 11:44:31 +10:00
parent f717fd25cc
commit 121a625c16

View File

@@ -240,6 +240,8 @@ void* r600_texture_transfer_map(struct pipe_context *ctx,
if (radeon_bo_map(rscreen->rw, resource->bo)) {
return NULL;
}
radeon_bo_wait(rscreen->rw, resource->bo);
map = resource->bo->data;
return map + rtransfer->offset +