r600g: fix wwarning in bo_map function
authorDave Airlie <airlied@redhat.com>
Mon, 4 Oct 2010 06:26:46 +0000 (16:26 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 4 Oct 2010 06:26:46 +0000 (16:26 +1000)
src/gallium/winsys/r600/drm/r600_priv.h

index f39778d..fdca6f0 100644 (file)
@@ -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)