Alexandros Frantzis (@afrantzis) commented about dlls/winewayland.drv/opengl.c:
gl->hwnd = hwnd; gl->swap_interval = 1;
- NtUserGetClientRect(gl->hwnd, &client_rect, NtUserGetDpiForWindow(gl->hwnd));
When creating pbuffers we have hwnd=0, which causes `NtUserGetClientRect` to fail and client_rect to remain uninitialized, leading to problems below.