projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
930f479
)
st/nine: Fix NineUnknown_Detach
author
Axel Davy
<axel.davy@ens.fr>
Sat, 3 Dec 2016 17:46:26 +0000
(18:46 +0100)
committer
Axel Davy
<axel.davy@ens.fr>
Tue, 20 Dec 2016 22:47:08 +0000
(23:47 +0100)
We don't bind the container in AddRef.
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/iunknown.h
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/iunknown.h
b/src/gallium/state_trackers/nine/iunknown.h
index d357aad9c6fe12b52cf4819b4770428bed0ac2fe..dd1dab9ab95ba0d7df44aa6e8d891202510788d7 100644
(file)
--- a/
src/gallium/state_trackers/nine/iunknown.h
+++ b/
src/gallium/state_trackers/nine/iunknown.h
@@
-165,8
+165,7
@@
static inline void
NineUnknown_Detach( struct NineUnknown *This )
{
assert(This->container && !This->forward);
- if (This->refs)
- NineUnknown_Unbind(This->container);
+
if (This->bind)
NineUnknown_Unbind(This->container);
This->container = NULL;