diff options
author | Ben Skeggs <[email protected]> | 2009-03-07 17:14:24 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2009-03-07 17:49:09 +1000 |
commit | ca95d71a4bc63e2ea45abf9096a3da802819ef92 (patch) | |
tree | d97d43c54f8e841c3bc01d3de1d313dc42034cfe /src/gallium/drivers/nv40/nv40_vertprog.c | |
parent | f2ec26cf52fcbf98139cb9e31520183189d09861 (diff) |
nouveau: make stateobjs start off with refcount of 1
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_vertprog.c')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_vertprog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv40/nv40_vertprog.c b/src/gallium/drivers/nv40/nv40_vertprog.c index 0862386638c..7df9a4d3264 100644 --- a/src/gallium/drivers/nv40/nv40_vertprog.c +++ b/src/gallium/drivers/nv40/nv40_vertprog.c @@ -916,6 +916,7 @@ check_gpu_resources: so_method(so, curie, NV40TCL_CLIP_PLANE_ENABLE, 1); so_data (so, vp->clip_ctrl); so_ref(so, &vp->so); + so_ref(NULL, &so); upload_code = TRUE; } |