[Git][wine/wine][master] wined3d: Remove now unnecessary pixel format restoration.

"Alexandre Julliard (@julliard)" <[email protected]>
Newsgroups gmane.comp.emulators.wine.cvs
Message-ID <[email protected]>

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/ce44dd0ba41b88f6b8eb626863c3358b75aca66c

-- 
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/ce44dd0ba41b88f6b8eb626863c3358b75aca66c
You're receiving this email because of your account on gitlab.winehq.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.