aboutsummaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/glamo/glamo_bo_gem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdrm/glamo/glamo_bo_gem.c b/libdrm/glamo/glamo_bo_gem.c
index 7ac01f5d..b5bbc180 100644
--- a/libdrm/glamo/glamo_bo_gem.c
+++ b/libdrm/glamo/glamo_bo_gem.c
@@ -211,6 +211,7 @@ static int bo_unmap(struct glamo_bo *bo)
}
munmap(bo->virtual, bo->size);
bo->virtual = NULL;
+ bo_gem->virtual = NULL;
return 0;
}