summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/r600
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2010-10-29 19:30:57 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2010-11-02 21:52:39 +0100
commit86778dadc54051d7b97bb542ae465a31225a717d (patch)
treeb5d95d9481f3dde2e31a26dc39067139351af928 /src/gallium/winsys/r600
parent34e75b0ca80011023c416831283fcce716b980b2 (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>
Diffstat (limited to 'src/gallium/winsys/r600')
-rw-r--r--src/gallium/winsys/r600/drm/r600_priv.h2
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;