projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96d63eb
)
i965g: fix bo_reference
author
Keith Whitwell
<keithw@vmware.com>
Tue, 22 Dec 2009 09:57:16 +0000
(09:57 +0000)
committer
Keith Whitwell
<keithw@vmware.com>
Tue, 22 Dec 2009 09:57:16 +0000
(09:57 +0000)
src/gallium/drivers/i965/brw_winsys.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i965/brw_winsys.h
b/src/gallium/drivers/i965/brw_winsys.h
index 4f3187c33e6843dcc4d0aa90cf1c01e78d61eb17..a242e31218af714ab887500a8c212a2a15967bf6 100644
(file)
--- a/
src/gallium/drivers/i965/brw_winsys.h
+++ b/
src/gallium/drivers/i965/brw_winsys.h
@@
-246,6
+246,8
@@
bo_reference(struct brw_winsys_buffer **ptr, struct brw_winsys_buffer *buf)
if (pipe_reference(&(*ptr)->reference, &buf->reference))
old_buf->sws->bo_destroy(old_buf);
+
+ *ptr = buf;
}