From: Dave Airlie Date: Mon, 4 Oct 2010 06:26:46 +0000 (+1000) Subject: r600g: fix wwarning in bo_map function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c2b3cb1e933dc55af57310a567fa7c418dbee9c;p=mesa.git r600g: fix wwarning in bo_map function --- 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)