From 1c2b3cb1e933dc55af57310a567fa7c418dbee9c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 4 Oct 2010 16:26:46 +1000 Subject: r600g: fix wwarning in bo_map function --- src/gallium/winsys/r600/drm/r600_priv.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium') 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) -- cgit v1.2.3