Wine-Bug: http://bugs.winehq.org/show_bug.cgi?id=58491 This fixes a regression introduced with a085746bbe3594e4ea01ea578823383e6447b6b6, as contrary to what I thought wined3d aren't specific to a given window but may be used alternatively on different windows, with `wined3d_context_gl_update_window` called when they switch. This causes DCs to be released / acquired every time window is switched and it triggers destruction and recreation of the underlying D3D OpenGL drawables. Keeping the DCs with the swapchains is probably a better fit anyway, and they already need some for fallback GDI blits. The GL contexts does not own its DC anymore, but simply uses either its active swapchain DC or the device backup DC. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9637