Mesa (master): r600g: fix wwarning in bo_map function
Dave Airlie
airlied at kemper.freedesktop.org
Mon Oct 4 06:27:02 UTC 2010
Module: Mesa
Branch: master
Commit: 1c2b3cb1e933dc55af57310a567fa7c418dbee9c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c2b3cb1e933dc55af57310a567fa7c418dbee9c
Author: Dave Airlie <airlied at redhat.com>
Date: Mon Oct 4 16:26:46 2010 +1000
r600g: fix wwarning in bo_map function
---
src/gallium/winsys/r600/drm/r600_priv.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gallium/winsys/r600/drm/r600_priv.h b/src/gallium/winsys/r600/drm/r600_priv.h
index f39778d..fdca6f0 100644
--- a/src/gallium/winsys/r600/drm/r600_priv.h
+++ b/src/gallium/winsys/r600/drm/r600_priv.h
@@ -145,6 +145,7 @@ static inline void r600_context_block_emit_dirty(struct r600_context *ctx, struc
static inline int radeon_bo_map(struct radeon *radeon, struct radeon_bo *bo)
{
bo->map_count++;
+ return 0;
}
static inline void radeon_bo_unmap(struct radeon *radeon, struct radeon_bo *bo)
More information about the mesa-commit
mailing list