Alexandre Julliard pushed to branch master at wine / wine
Commits: ce44dd0b by Rémi Bernon at 2025-12-05T11:09:17+01:00 wined3d: Remove now unnecessary pixel format restoration.
wglSetPixelFormatWINE now sets the internal pixel format privately on each DC, and it is unnecessary to restore the window pixel format.
That call is even undesirable as it allocates and destroys a private OpenGL drawable when the DC is acquired, its internal pixel format is set, and the DC is then immediately released.
- - - - -
2 changed files:
- dlls/wined3d/context_gl.c - dlls/wined3d/wined3d_gl.h
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/ce44dd0ba41b88f6b8eb626863c3358...