mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Fix Auto-Adjust Window Size option making the window too large
This commit is contained in:
parent
955214c6b6
commit
ab6f932347
4 changed files with 6 additions and 13 deletions
|
@ -545,10 +545,6 @@ void Renderer::SwapImpl(AbstractTexture* texture, const EFBRectangle& xfb_region
|
|||
// Handle host window resizes.
|
||||
CheckForSurfaceChange();
|
||||
|
||||
// Update the window size based on the frame that was just rendered.
|
||||
// Due to depending on guest state, we need to call this every frame.
|
||||
SetWindowSize(xfb_texture->GetConfig().width, xfb_texture->GetConfig().height);
|
||||
|
||||
// Clean up stale textures.
|
||||
TextureCache::GetInstance()->Cleanup(frameCount);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue