diff options
author | Christoph Bumiller <[email protected]> | 2011-12-15 20:10:16 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-12-15 20:10:16 +0100 |
commit | 97144eef036cd94068944202214cb8e722b3839d (patch) | |
tree | ac26046038dc4f64b0076ca24e2e7984bd702829 /src | |
parent | 14bd9d764802b5fedb652c791faafe4d13b65262 (diff) |
llvmpipe: adapt to struct stream_output_info modifications
My fault, I broke it with v5 of 861a029ddb31e91bb4d8e18ab708d0d172f63aad.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_so.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_so.c b/src/gallium/drivers/llvmpipe/lp_state_so.c index 4874bd65a96..108f3aa4f39 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_so.c +++ b/src/gallium/drivers/llvmpipe/lp_state_so.c @@ -43,15 +43,8 @@ llvmpipe_create_stream_output_state(struct pipe_context *pipe, if (so) { so->base.num_outputs = templ->num_outputs; so->base.stride = templ->stride; - memcpy(so->base.output_buffer, - templ->output_buffer, - sizeof(int) * templ->num_outputs); - memcpy(so->base.register_index, - templ->register_index, - sizeof(int) * templ->num_outputs); - memcpy(so->base.register_mask, - templ->register_mask, - sizeof(ubyte) * templ->num_outputs); + memcpy(so->base.output, templ->output, + templ->num_outputs * sizeof(templ->output[0])); } return so; } |