diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2010-10-29 19:30:57 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2010-11-02 21:52:39 +0100 |
commit | 86778dadc54051d7b97bb542ae465a31225a717d (patch) | |
tree | b5d95d9481f3dde2e31a26dc39067139351af928 | |
parent | 34e75b0ca80011023c416831283fcce716b980b2 (diff) |
r600g: Made radeon_bo::map_count signed.
That way assert(map_count >= 0) can actually fail when we screwed up.
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
-rw-r--r-- | 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 117d0597ad..efecfebc2b 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; |