diff options
author | Brian Paul <[email protected]> | 2010-02-14 18:46:56 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-02-14 21:57:14 -0700 |
commit | 630b83be84f0bd9ce15cf9f09250a462bac2aa8b (patch) | |
tree | ae16ed65e69aa37001a8c7d27c7109f5426cc960 | |
parent | 79d4954f4f414d4ad047c17e684d566c0cd7442f (diff) |
r600: use new program cloning functions
-rw-r--r-- | src/mesa/drivers/dri/r600/r700_vertprog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_vertprog.c b/src/mesa/drivers/dri/r600/r700_vertprog.c index 618f7e1be1c..46481cdff4e 100644 --- a/src/mesa/drivers/dri/r600/r700_vertprog.c +++ b/src/mesa/drivers/dri/r600/r700_vertprog.c @@ -308,7 +308,7 @@ struct r700_vertex_program* r700TranslateVertexShader(GLcontext *ctx, unsigned int i; vp = _mesa_calloc(sizeof(*vp)); - vp->mesa_program = (struct gl_vertex_program *)_mesa_clone_program(ctx, &mesa_vp->Base); + vp->mesa_program = _mesa_clone_vertex_program(ctx, mesa_vp); if (mesa_vp->IsPositionInvariant) { |