diff options
author | Eric Anholt <[email protected]> | 2013-09-19 16:16:16 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-09-23 12:45:22 -0700 |
commit | 07572621bc4515c71c56754a2bd9c7c832653d2b (patch) | |
tree | 7fef8b2df6e8a9e53b0c58393c28cded6ed2ffe7 /src/mesa/program | |
parent | 669b88eb12496dd5f1ba933a56c8311624245639 (diff) |
mesa: Drop an extra copy-and-pasted copy in the program clone function.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/program')
-rw-r--r-- | src/mesa/program/program.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index 3a1eb73d780..093d37297b4 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -477,7 +477,6 @@ _mesa_clone_program(struct gl_context *ctx, const struct gl_program *prog) if (prog->Parameters) clone->Parameters = _mesa_clone_parameter_list(prog->Parameters); memcpy(clone->LocalParams, prog->LocalParams, sizeof(clone->LocalParams)); - memcpy(clone->LocalParams, prog->LocalParams, sizeof(clone->LocalParams)); clone->IndirectRegisterFiles = prog->IndirectRegisterFiles; clone->NumInstructions = prog->NumInstructions; clone->NumTemporaries = prog->NumTemporaries; |