summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/nv40/nv40_fragtex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/nv40/nv40_fragtex.c')
-rw-r--r--src/mesa/pipe/nv40/nv40_fragtex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/nv40/nv40_fragtex.c b/src/mesa/pipe/nv40/nv40_fragtex.c
index 283d49704a..c87e361831 100644
--- a/src/mesa/pipe/nv40/nv40_fragtex.c
+++ b/src/mesa/pipe/nv40/nv40_fragtex.c
@@ -121,6 +121,7 @@ nv40_fragtex_build(struct nv40_context *nv40, int unit)
so_emit(nv40->nvws, so);
so_ref (so, &nv40->so_fragtex[unit]);
+ so_ref (NULL, &so);
}
void