diff options
Diffstat (limited to 'gpu/pgl/command_buffer_pepper.cc')
-rw-r--r-- | gpu/pgl/command_buffer_pepper.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gpu/pgl/command_buffer_pepper.cc b/gpu/pgl/command_buffer_pepper.cc index 6765f1e..53d67d2 100644 --- a/gpu/pgl/command_buffer_pepper.cc +++ b/gpu/pgl/command_buffer_pepper.cc @@ -63,7 +63,7 @@ CommandBuffer::State CommandBufferPepper::GetState() { NULL); CommandBuffer::State state; - state.size = output_attribs[1]; + state.num_entries = output_attribs[1]; state.get_offset = output_attribs[3]; state.put_offset = output_attribs[5]; state.token = output_attribs[7]; @@ -106,7 +106,7 @@ CommandBuffer::State CommandBufferPepper::Flush(int32 put_offset) { NULL); CommandBuffer::State state; - state.size = output_attribs[1]; + state.num_entries = output_attribs[1]; state.get_offset = output_attribs[3]; state.put_offset = output_attribs[5]; state.token = output_attribs[7]; @@ -181,7 +181,7 @@ gpu::error::Error CommandBufferPepper::GetCachedError() { CommandBuffer::State CommandBufferPepper::ConvertState() { CommandBuffer::State state; - state.size = context_->commandBufferSize; + state.num_entries = context_->commandBufferSize; state.get_offset = context_->getOffset; state.put_offset = context_->putOffset; state.token = context_->token; |