cleanup: remove unnecessary return and namespace declaration

This commit is contained in:
scribam 2018-09-05 22:52:38 +02:00 committed by Ivan
parent 549a5370d8
commit 343656f66d
3 changed files with 2 additions and 6 deletions

View file

@ -298,7 +298,7 @@ void D3D12GSRender::on_init_thread()
void D3D12GSRender::on_exit() void D3D12GSRender::on_exit()
{ {
return GSRender::on_exit(); GSRender::on_exit();
} }
void D3D12GSRender::do_local_task(rsx::FIFO_state state) void D3D12GSRender::do_local_task(rsx::FIFO_state state)

View file

@ -270,7 +270,3 @@ gl::vertex_upload_info GLGSRender::set_vertex_buffer()
m_vertex_upload_time += std::chrono::duration_cast<std::chrono::microseconds>(now - then).count(); m_vertex_upload_time += std::chrono::duration_cast<std::chrono::microseconds>(now - then).count();
return upload_info; return upload_info;
} }
namespace
{
} // End anonymous namespace

View file

@ -1647,7 +1647,7 @@ void VKGSRender::on_init_thread()
void VKGSRender::on_exit() void VKGSRender::on_exit()
{ {
zcull_ctrl.release(); zcull_ctrl.release();
return GSRender::on_exit(); GSRender::on_exit();
} }
void VKGSRender::clear_surface(u32 mask) void VKGSRender::clear_surface(u32 mask)