diff options
author | Tilman Sauerbeck <[email protected]> | 2010-10-23 13:33:15 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-10-24 12:44:56 +1000 |
commit | 9f9d24c89a2286f952b123c703e8268d2f1aa719 (patch) | |
tree | ea62f9c512ae6f2b3009089bd288774b5d06f925 /src/gallium/drivers/r600/r600_state_common.c | |
parent | d8740b77ac30298c1742107e2afc4edabca562f0 (diff) |
r600g: Fixed r600_vertex_element leak.
Signed-off-by: Tilman Sauerbeck <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_state_common.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_state_common.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index 722ce32263e..e127bac7797 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -118,6 +118,5 @@ void *r600_create_vertex_elements(struct pipe_context *ctx, align(util_format_get_blocksize(v->hw_format[i]), 4); } - v->refcount = 1; return v; } |