March 18, 2026
3:17 a.m.
On Wed Mar 18 02:59:25 2026 +0000, Brendan McGrath wrote:
Oh - I think I see what you mean. If `bitmap` isn't already set, it will call `NtGdiCreateDIBSection` in `window_surface_create`. But in this case it is already set (with the `HBITMAP` returned by `NtGdiDdDDICreateDCFromMemory`). I see now, thanks, this is bitmap from winex11.drvcreate_surface() -> x11drv_image_create and that is where it was not initialized. Indeed, that commit should be fixing that then, while the original purpose was different.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10356#note_132592