[PATCH 0/1] MR9760: win32u: Update window state after setting internal pixel format.
We need to inform wineserver that the window has a drawable now and should be clipped out of the window surface updates. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58491 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9760
From: Rémi Bernon <rbernon@codeweavers.com> We need to inform wineserver that the window has a drawable now and should be clipped out of the window surface updates. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58491 --- dlls/win32u/opengl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/win32u/opengl.c b/dlls/win32u/opengl.c index a05d0341d55..bdc8789d662 100644 --- a/dlls/win32u/opengl.c +++ b/dlls/win32u/opengl.c @@ -1591,6 +1591,8 @@ static BOOL win32u_wglSetPixelFormatWINE( HDC hdc, int format ) set_window_opengl_drawable( hwnd, drawable, TRUE ); set_dc_opengl_drawable( hdc, drawable ); opengl_drawable_release( drawable ); + + update_window_state( hwnd ); } return TRUE; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9760
participants (2)
-
Rémi Bernon -
Rémi Bernon (@rbernon)