[Mesa-dev] [PATCH 3/3] r600g: Made radeon_bo::map_count signed.
Tilman Sauerbeck
tilman at code-monkey.de
Sat Oct 30 07:06:11 PDT 2010
That way assert(map_count >= 0) can actually fail when we screwed up.
Signed-off-by: Tilman Sauerbeck <tilman at code-monkey.de>
---
src/gallium/winsys/r600/drm/r600_priv.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/winsys/r600/drm/r600_priv.h b/src/gallium/winsys/r600/drm/r600_priv.h
index 117d059..efecfeb 100644
--- a/src/gallium/winsys/r600/drm/r600_priv.h
+++ b/src/gallium/winsys/r600/drm/r600_priv.h
@@ -62,7 +62,7 @@ struct radeon_bo {
unsigned handle;
unsigned size;
unsigned alignment;
- unsigned map_count;
+ int map_count;
void *data;
struct list_head fencedlist;
unsigned fence;
--
1.7.3.1
More information about the mesa-dev
mailing list