Fix dead code.
This commit is contained in:
parent
eaae5b4a45
commit
3c73707dfe
|
@ -214,8 +214,9 @@ void Presenter::ResizeSurface()
|
|||
|
||||
void* Presenter::GetNewSurfaceHandle()
|
||||
{
|
||||
return m_new_surface_handle;
|
||||
void *handle = m_new_surface_handle;
|
||||
m_new_surface_handle = nullptr;
|
||||
return handle;
|
||||
}
|
||||
|
||||
void Presenter::SetWindowSize(int width, int height)
|
||||
|
|
Loading…
Reference in New Issue