25 Nov
2025
25 Nov
'25
4:32 p.m.
From: Paul Gofman <pgofman(a)codeweavers.com> --- dlls/win32u/dce.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/win32u/dce.c b/dlls/win32u/dce.c index d720d686bcd..5d6cbb70194 100644 --- a/dlls/win32u/dce.c +++ b/dlls/win32u/dce.c @@ -548,6 +548,8 @@ W32KAPI struct window_surface *window_surface_create( UINT size, const struct wi pthread_mutex_init( &surface->mutex, NULL ); + memset( window_surface_get_color( surface, info ), 0xff, info->bmiHeader.biSizeImage ); + TRACE( "created surface %p for hwnd %p rect %s\n", surface, hwnd, wine_dbgstr_rect( &surface->rect ) ); return surface; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9573