projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79d4954
)
r600: use new program cloning functions
author
Brian Paul
<brianp@vmware.com>
Mon, 15 Feb 2010 01:46:56 +0000
(18:46 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 15 Feb 2010 04:57:14 +0000
(21:57 -0700)
src/mesa/drivers/dri/r600/r700_vertprog.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r600/r700_vertprog.c
b/src/mesa/drivers/dri/r600/r700_vertprog.c
index 618f7e1be1c872b3f9185fd83e108a9b59455751..46481cdff4e02b1ea63ac6b2f777f15364c66eff 100644
(file)
--- 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)
{