nvfx: fix vertex programs

This commit is contained in:
Luca Barbieri 2010-08-22 14:53:49 +02:00
parent a0c45eabf9
commit 793e398681

View file

@ -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);
}