diff options
author | Ben Skeggs <darktama@beleth.(none)> | 2008-02-22 14:46:48 +1100 |
---|---|---|
committer | Ben Skeggs <darktama@beleth.(none)> | 2008-02-22 14:46:48 +1100 |
commit | 7b938431d0ab5ccce1e7e2b1c38e1dcbdc6001e8 (patch) | |
tree | 38cc708d5414c4ba6165995bf9b45c722f265d70 /src/gallium/drivers/nv40/nv40_fragtex.c | |
parent | c2e36bdd1a58ba6f58c4e72db1f7f64e8bd05901 (diff) |
nv40: stateobj start out with 0 refcount
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_fragtex.c')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_fragtex.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv40/nv40_fragtex.c b/src/gallium/drivers/nv40/nv40_fragtex.c index 3d27a9bf134..c8a8120f305 100644 --- a/src/gallium/drivers/nv40/nv40_fragtex.c +++ b/src/gallium/drivers/nv40/nv40_fragtex.c @@ -137,7 +137,6 @@ nv40_fragtex_validate(struct nv40_context *nv40) so_method(so, nv40->hw->curie, NV40TCL_TEX_ENABLE(unit), 1); so_data (so, 0); so_ref(so, &nv40->state.hw[NV40_STATE_FRAGTEX0 + unit]); - so_ref(NULL, &so); state->dirty |= (1 << (NV40_STATE_FRAGTEX0 + unit)); } @@ -148,7 +147,6 @@ nv40_fragtex_validate(struct nv40_context *nv40) so = nv40_fragtex_build(nv40, unit); so_ref(so, &nv40->state.hw[NV40_STATE_FRAGTEX0 + unit]); - so_ref(NULL, &so); state->dirty |= (1 << (NV40_STATE_FRAGTEX0 + unit)); } |