From: Luca Barbieri Date: Sun, 22 Aug 2010 12:53:49 +0000 (+0200) Subject: nvfx: fix vertex programs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=793e398681ac9ef9da6f6a453a5665bdfd0270e8;p=mesa.git nvfx: fix vertex programs --- 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); }