summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-08-22 14:53:49 +0200
committerLuca Barbieri <[email protected]>2010-08-22 15:42:16 +0200
commit793e398681ac9ef9da6f6a453a5665bdfd0270e8 (patch)
tree4f09f636b086118dd910f8c2340064d9bd7862d4 /src/gallium/drivers
parenta0c45eabf961905ea7bd48b2750fce41c8ba542b (diff)
nvfx: fix vertex programs
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_vertprog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_vertprog.c b/src/gallium/drivers/nvfx/nvfx_vertprog.c
index 996680e32cc..3c3521e1622 100644
--- a/src/gallium/drivers/nvfx/nvfx_vertprog.c
+++ b/src/gallium/drivers/nvfx/nvfx_vertprog.c
@@ -1272,4 +1272,6 @@ nvfx_vertprog_destroy(struct nvfx_context *nvfx, struct nvfx_vertex_program *vp)
vp->data_start_min = 0;
vp->ir = vp->or = vp->clip_ctrl = 0;
+ util_dynarray_fini(&vp->branch_relocs);
+ util_dynarray_fini(&vp->const_relocs);
}