mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
r300: use new program cloning functions
This commit is contained in:
parent
7a38d8d9a5
commit
79d4954f4f
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ static struct r300_vertex_program *build_program(GLcontext *ctx,
|
|||
struct r300_vertex_program_compiler compiler;
|
||||
|
||||
vp = _mesa_calloc(sizeof(*vp));
|
||||
vp->Base = (struct gl_vertex_program *) _mesa_clone_program(ctx, &mesa_vp->Base);
|
||||
vp->Base = _mesa_clone_vertex_program(ctx, mesa_vp);
|
||||
_mesa_memcpy(&vp->key, wanted_key, sizeof(vp->key));
|
||||
|
||||
rc_init(&compiler.Base);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue