diff options
-rw-r--r-- | gpu/command_buffer/client/cmd_buffer_helper.cc | 5 | ||||
-rw-r--r-- | gpu/command_buffer/client/cmd_buffer_helper.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/gpu/command_buffer/client/cmd_buffer_helper.cc b/gpu/command_buffer/client/cmd_buffer_helper.cc index 2fa15aa..b83934f 100644 --- a/gpu/command_buffer/client/cmd_buffer_helper.cc +++ b/gpu/command_buffer/client/cmd_buffer_helper.cc @@ -273,9 +273,4 @@ CommandBufferEntry* CommandBufferHelper::GetSpace(uint32 entries) { return space; } -error::Error CommandBufferHelper::GetError() { - CommandBuffer::State state = command_buffer_->GetState(); - return static_cast<error::Error>(state.error); -} - } // namespace gpu diff --git a/gpu/command_buffer/client/cmd_buffer_helper.h b/gpu/command_buffer/client/cmd_buffer_helper.h index 5ef8d0e..e2639b3 100644 --- a/gpu/command_buffer/client/cmd_buffer_helper.h +++ b/gpu/command_buffer/client/cmd_buffer_helper.h @@ -131,8 +131,6 @@ class GPU_EXPORT CommandBufferHelper { return command_buffer_->GetLastState().get_offset; } - error::Error GetError(); - // Common Commands void Noop(uint32 skip_count) { cmd::Noop* cmd = GetImmediateCmdSpace<cmd::Noop>( |