summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv40/nv40_vertprog.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_vertprog.c
parentc2e36bdd1a58ba6f58c4e72db1f7f64e8bd05901 (diff)
nv40: stateobj start out with 0 refcount
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_vertprog.c')
-rw-r--r--src/gallium/drivers/nv40/nv40_vertprog.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv40/nv40_vertprog.c b/src/gallium/drivers/nv40/nv40_vertprog.c
index 8a2d2336974..c482964adc0 100644
--- a/src/gallium/drivers/nv40/nv40_vertprog.c
+++ b/src/gallium/drivers/nv40/nv40_vertprog.c
@@ -678,7 +678,6 @@ check_gpu_resources:
so_data (so, vp->ir);
so_data (so, vp->or);
so_ref(so, &vp->so);
- so_ref(NULL, &so);
upload_code = TRUE;
}