summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-08-18 21:11:49 +0100
committerChristoph Brill <christoph.brill@chamaeleon.de>2011-12-13 22:15:49 +0100
commit50cb2c888ddbd2a7ed2e6707159892031e08fdfa (patch)
tree40257c680dd87be5ceaea83233846e98378f8828
parent6c87cd0eb8d14b5f6aec455da7413ebcbeb70697 (diff)
Count mappings correctly
-rw-r--r--glamo/glamo_bo_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glamo/glamo_bo_gem.c b/glamo/glamo_bo_gem.c
index eaab76f1..8b2838af 100644
--- a/glamo/glamo_bo_gem.c
+++ b/glamo/glamo_bo_gem.c
@@ -229,8 +229,8 @@ static int bo_map(struct glamo_bo *bo, int write)
strerror(errno));
return errno;
}
- bo_gem->map_count++;
}
+ bo_gem->map_count++;
return 0;
}