summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-10-04 16:26:46 +1000
committerDave Airlie <[email protected]>2010-10-04 16:26:46 +1000
commit1c2b3cb1e933dc55af57310a567fa7c418dbee9c (patch)
tree9e67899cafed3851bdac875a1be297c536912d43 /src/gallium
parent6dc051557d99e81fc58e09edf21f185874dc1979 (diff)
r600g: fix wwarning in bo_map function
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/r600/drm/r600_priv.h1
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 f39778da624..fdca6f01e84 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)