diff options
author | Keith Whitwell <[email protected]> | 2009-12-22 09:57:16 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-12-22 09:57:16 +0000 |
commit | f069e457503c9fe5d252330937f944a5d2aeb54c (patch) | |
tree | 46a3229d2154ead235a1758d34979a944759411d /src | |
parent | 96d63ebbf524df78e7a1d83d2acf75ae72d27f2a (diff) |
i965g: fix bo_reference
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/i965/brw_winsys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_winsys.h b/src/gallium/drivers/i965/brw_winsys.h index 4f3187c33e6..a242e31218a 100644 --- 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; } |