mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-27 04:36:18 +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
|
@ -1518,8 +1518,8 @@ void Renderer::CheckForSurfaceResize()
|
|||
return;
|
||||
|
||||
g_main_gl_context->Update();
|
||||
m_backbuffer_width = m_new_backbuffer_width;
|
||||
m_backbuffer_height = m_new_backbuffer_height;
|
||||
m_backbuffer_width = g_main_gl_context->GetBackBufferWidth();
|
||||
m_backbuffer_height = g_main_gl_context->GetBackBufferHeight();
|
||||
}
|
||||
|
||||
void Renderer::DrawEFB(GLuint framebuffer, const TargetRectangle& target_rc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue