projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9cf131
)
radeon: add a reference to the static buffers so they don't get deleted
author
Dave Airlie
<airlied@redhat.com>
Tue, 3 Feb 2009 02:38:31 +0000
(12:38 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 3 Feb 2009 02:38:31 +0000
(12:38 +1000)
src/mesa/drivers/dri/radeon/radeon_bo_legacy.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_bo_legacy.c
b/src/mesa/drivers/dri/radeon/radeon_bo_legacy.c
index 07af01fc4028c523fb11374abaca3753d286f113..71fe27609b36b42831f80b83e371ee1c191b8f9d 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_bo_legacy.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_bo_legacy.c
@@
-655,6
+655,7
@@
static struct bo_legacy *radeon_legacy_bo_alloc_static(struct bo_manager_legacy
if (bo->base.handle > bom->nhandle) {
bom->nhandle = bo->base.handle + 1;
}
+ radeon_bo_ref(&(bo->base));
return bo;
}