mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 07:39:17 +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
|
@ -889,9 +889,6 @@ void Renderer::CheckForSurfaceResize()
|
|||
if (!m_surface_resized.TestAndClear())
|
||||
return;
|
||||
|
||||
m_backbuffer_width = m_new_backbuffer_width;
|
||||
m_backbuffer_height = m_new_backbuffer_height;
|
||||
|
||||
// If we don't have a surface, how can we resize the swap chain?
|
||||
// CheckForSurfaceChange should handle this case.
|
||||
if (!m_swap_chain)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue