Module: Mesa
Branch: master
Commit: 793e398681ac9ef9da6f6a453a5665bdfd0270e8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=793e398681ac9ef9da6f6a453a5665bdfd0270e8

Author: Luca Barbieri <[email protected]>
Date:   Sun Aug 22 14:53:49 2010 +0200

nvfx: fix vertex programs

---

 src/gallium/drivers/nvfx/nvfx_vertprog.c |    2 ++
 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 996680e..3c3521e 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);
 }

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to