OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge commit 'origin/gallium-0.1' into gallium-0.2
[android-x86/external-mesa.git]
/
src
/
gallium
/
auxiliary
/
pipebuffer
/
pb_bufmgr_fenced.c
diff --git
a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_fenced.c
b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_fenced.c
index
f8fd2cd
..
513ed28
100644
(file)
--- a/
src/gallium/auxiliary/pipebuffer/pb_bufmgr_fenced.c
+++ b/
src/gallium/auxiliary/pipebuffer/pb_bufmgr_fenced.c
@@
-86,8
+86,7
@@
fenced_bufmgr_create_buffer(struct pb_manager *mgr,
fenced_buf = fenced_buffer_create(fenced_mgr->fenced_list, buf);
if(!fenced_buf) {
- assert(buf->base.refcount == 1);
- pb_destroy(buf);
+ pb_reference(&buf, NULL);
}
return fenced_buf;