summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv40/nv40_fragprog.c
diff options
context:
space:
mode:
authorBen Skeggs <darktama@beleth.(none)>2008-02-22 14:46:48 +1100
committerBen Skeggs <darktama@beleth.(none)>2008-02-22 14:46:48 +1100
commit7b938431d0ab5ccce1e7e2b1c38e1dcbdc6001e8 (patch)
tree38cc708d5414c4ba6165995bf9b45c722f265d70 /src/gallium/drivers/nv40/nv40_fragprog.c
parentc2e36bdd1a58ba6f58c4e72db1f7f64e8bd05901 (diff)
nv40: stateobj start out with 0 refcount
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_fragprog.c')
-rw-r--r--src/gallium/drivers/nv40/nv40_fragprog.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv40/nv40_fragprog.c b/src/gallium/drivers/nv40/nv40_fragprog.c
index db2613ef8bb..a4a1ea01e03 100644
--- a/src/gallium/drivers/nv40/nv40_fragprog.c
+++ b/src/gallium/drivers/nv40/nv40_fragprog.c
@@ -817,7 +817,6 @@ nv40_fragprog_validate(struct nv40_context *nv40)
so_method(so, nv40->hw->curie, NV40TCL_FP_CONTROL, 1);
so_data (so, fp->fp_control);
so_ref(so, &fp->so);
- so_ref(NULL, &so);
update_constants:
if (fp->nr_consts) {