summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
diff options
context:
space:
mode:
authorGravatar liamwhite2022-12-15 12:05:01 -0500
committerGravatar GitHub2022-12-15 12:05:01 -0500
commit3ff7a5de1a54c9f478b23de1a0bd6c6188ea80a6 (patch)
tree0d014da28cf6a8a1045cd2a7d7df8301522ea47c /src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
parentMerge pull request #9441 from yuzu-emu/revert-9232-audio-default-thread (diff)
parentgl_device: Use a more robust way to use strict context mode (diff)
downloadyuzu-3ff7a5de1a54c9f478b23de1a0bd6c6188ea80a6.tar.gz
yuzu-3ff7a5de1a54c9f478b23de1a0bd6c6188ea80a6.tar.xz
yuzu-3ff7a5de1a54c9f478b23de1a0bd6c6188ea80a6.zip
Merge pull request #7410 from Nefsen402/wayland-fixes
Wayland fixes
Diffstat (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2.cpp')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
index 37dd1747c..31f28a507 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
@@ -115,7 +115,7 @@ bool EmuWindow_SDL2::IsShown() const {
115 115
116void EmuWindow_SDL2::OnResize() { 116void EmuWindow_SDL2::OnResize() {
117 int width, height; 117 int width, height;
118 SDL_GetWindowSize(render_window, &width, &height); 118 SDL_GL_GetDrawableSize(render_window, &width, &height);
119 UpdateCurrentFramebufferLayout(width, height); 119 UpdateCurrentFramebufferLayout(width, height);
120} 120}
121 121