diff --git a/3rdparty/wxwidgets3.0/src/msw/toplevel.cpp b/3rdparty/wxwidgets3.0/src/msw/toplevel.cpp index 37b3a3d0a7..962d84e654 100644 --- a/3rdparty/wxwidgets3.0/src/msw/toplevel.cpp +++ b/3rdparty/wxwidgets3.0/src/msw/toplevel.cpp @@ -1104,7 +1104,13 @@ bool wxTopLevelWindowMSW::ShowFullScreen(bool show, long style) // decorations (and are definitely not children) and while not using // this style doesn't seem to make any difference for most windows, it // breaks wxGLCanvas in some cases, see #15434, so just always use it. - newStyle |= WS_POPUP; + + // PCSX2: WS_POPUP causes fullscreen tearing when using OpenGL and the + // GSPanel rendering area exactly covers the full screen. (always + // affects stretch mode, but most people have 16:9 monitors, so in + // general the widescreen 16:9 mode is also affected). Let's remove the + // window style. + // newStyle |= WS_POPUP; // change our window style to be compatible with full-screen mode ::SetWindowLong(GetHwnd(), GWL_STYLE, newStyle);