mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Renderer: Pull dimensions from GLInterface/Swapchain
This commit is contained in:
parent
a3961750a7
commit
1d827a5223
7 changed files with 7 additions and 26 deletions
|
@ -417,11 +417,9 @@ void Renderer::ChangeSurface(void* new_surface_handle)
|
|||
m_surface_changed.Set();
|
||||
}
|
||||
|
||||
void Renderer::ResizeSurface(int new_width, int new_height)
|
||||
void Renderer::ResizeSurface()
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(m_swap_mutex);
|
||||
m_new_backbuffer_width = new_width;
|
||||
m_new_backbuffer_height = new_height;
|
||||
m_surface_resized.Set();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue