diff options
author | Jerome Glisse <[email protected]> | 2010-11-17 17:20:59 -0500 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-11-17 17:22:08 -0500 |
commit | 7ffd4e976fd11b8c083c2927effd25a2f79ac841 (patch) | |
tree | 511eeef1e6d4f048236bb3d242caf559e24a01e9 /src/gallium/drivers/r600/r600_buffer.c | |
parent | 9935fe705df44bb633039ca74332cc0c126ccc30 (diff) |
r600g: code cleanup (indent, trailing space, empty line ...)
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_buffer.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_buffer.c b/src/gallium/drivers/r600/r600_buffer.c index ed97b6e69a3..a432271b82d 100644 --- a/src/gallium/drivers/r600/r600_buffer.c +++ b/src/gallium/drivers/r600/r600_buffer.c @@ -124,7 +124,7 @@ static void *r600_buffer_transfer_map(struct pipe_context *pipe, if ((transfer->box.x >= rbuffer->ranges[i].start) && (transfer->box.x < rbuffer->ranges[i].end)) flush = TRUE; - + if (flush) { r600_bo_reference((struct radeon*)pipe->winsys, &rbuffer->r.bo, NULL); rbuffer->num_ranges = 0; @@ -180,7 +180,7 @@ static void r600_buffer_transfer_flush_region(struct pipe_context *pipe, return; } } - + rbuffer->ranges[rbuffer->num_ranges].start = offset; rbuffer->ranges[rbuffer->num_ranges].end = offset+length; rbuffer->num_ranges++; |