15 Nov
2025
15 Nov
'25
12:06 a.m.
Brendan Shanks (@bshanks) commented about dlls/winemac.drv/surface.c:
bitmap = desc.hBitmap; NtGdiDeleteObjectApp(desc.hDc); } if (desc.hDeviceDc) NtUserReleaseDC(hwnd, desc.hDeviceDc);
It's not really hurting anything, but since we're not creating a CGImage I don't think there's a need for this code and the CGDataProvider stuff any more. Without it, I'm not sure how we would set the `window_background` though. Maybe we just create the DIB like `window_surface_create()` would (`NtGdiCreateDIBSection( 0, NULL, 0, info, DIB_RGB_COLORS, 0, 0, 0, NULL )`), and then set the window_background there? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7938#note_122161