diff options
author | James Rowe <jroweboy@gmail.com> | 2016-05-03 08:07:17 +0200 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2016-11-05 09:55:41 +0100 |
commit | 2b1654ad9bbd8af53f22434d350704a1a1d0a285 (patch) | |
tree | 0da3cc7a1c622c1a659f4b2a8c5c08984dabd5c3 /src/citra/emu_window/emu_window_sdl2.cpp | |
parent | Update CONTRIBUTING.md (diff) | |
download | yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.tar yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.tar.gz yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.tar.bz2 yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.tar.lz yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.tar.xz yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.tar.zst yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.zip |
Diffstat (limited to 'src/citra/emu_window/emu_window_sdl2.cpp')
-rw-r--r-- | src/citra/emu_window/emu_window_sdl2.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/citra/emu_window/emu_window_sdl2.cpp b/src/citra/emu_window/emu_window_sdl2.cpp index 7df054208..8abe48984 100644 --- a/src/citra/emu_window/emu_window_sdl2.cpp +++ b/src/citra/emu_window/emu_window_sdl2.cpp @@ -46,11 +46,8 @@ bool EmuWindow_SDL2::IsOpen() const { void EmuWindow_SDL2::OnResize() { int width, height; - SDL_GetWindowSize(render_window, &width, &height); - - NotifyFramebufferLayoutChanged( - EmuWindow::FramebufferLayout::DefaultScreenLayout(width, height)); + UpdateCurrentFramebufferLayout(width, height); } EmuWindow_SDL2::EmuWindow_SDL2() { |