On Wed Nov 19 18:58:01 2025 +0000, Elizabeth Figura wrote:
Anyway, it's not needed anymore, I moved the cleanup to ReleaseDC,
limited to the kind of DCs that wined3d uses, it should be good enough for now. Wait, does this mean we're destroying the drawable on every ReleaseDC() call? Isn't that going to kill performance?
That's only the case for (D3D) drawables created from a `wglSetPixelFormatWINE` call, and they should be kept referenced as long as they are needed?
The window GL drawable(s) created with the window pixel format are kept with the window itself (at least we keep one unused around).