From 97144eef036cd94068944202214cb8e722b3839d Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Thu, 15 Dec 2011 20:10:16 +0100 Subject: llvmpipe: adapt to struct stream_output_info modifications My fault, I broke it with v5 of 861a029ddb31e91bb4d8e18ab708d0d172f63aad. --- src/gallium/drivers/llvmpipe/lp_state_so.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3