diff options
Diffstat (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp')
| -rw-r--r-- | Source/Core/DolphinNoGUI/MainNoGUI.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp index c78a67589a..def748832f 100644 --- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp +++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp @@ -321,12 +321,8 @@ class PlatformX11 : public Platform { last_window_width = event.xconfigure.width; last_window_height = event.xconfigure.height; - - // We call Renderer::ChangeSurface here to indicate the size has changed, - // but pass the same window handle. This is needed for the Vulkan backend, - // otherwise it cannot tell that the window has been resized on some drivers. if (g_renderer) - g_renderer->ChangeSurface(s_window_handle); + g_renderer->ResizeSurface(last_window_width, last_window_height); } } break; |
