diff options
author | Keith Whitwell <[email protected]> | 2009-12-22 09:52:26 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-12-22 09:52:26 +0000 |
commit | 96d63ebbf524df78e7a1d83d2acf75ae72d27f2a (patch) | |
tree | e9093a735b12fbb141bbae3331b8121a16a1d136 /src/gallium/drivers/i965/brw_winsys.h | |
parent | aa02683e45f1eaf61bba2ba7eeda7686efeed2ca (diff) |
i965g: update for u_format changes
Diffstat (limited to 'src/gallium/drivers/i965/brw_winsys.h')
-rw-r--r-- | src/gallium/drivers/i965/brw_winsys.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_winsys.h b/src/gallium/drivers/i965/brw_winsys.h index 2f470677163..4f3187c33e6 100644 --- a/src/gallium/drivers/i965/brw_winsys.h +++ b/src/gallium/drivers/i965/brw_winsys.h @@ -244,7 +244,7 @@ bo_reference(struct brw_winsys_buffer **ptr, struct brw_winsys_buffer *buf) { struct brw_winsys_buffer *old_buf = *ptr; - if (pipe_reference((struct pipe_reference **)ptr, &buf->reference)) + if (pipe_reference(&(*ptr)->reference, &buf->reference)) old_buf->sws->bo_destroy(old_buf); } |