[PATCH v3 1/2] wined3d: Only use default SetPixelFormat on private windows.

Henri Verbeet hverbeet at gmail.com
Mon Apr 19 10:17:15 CDT 2021


On Fri, 16 Apr 2021 at 23:11, Connor McAdams <cmcadams at codeweavers.com> wrote:
>
> Only use the default SetPixelFormat function if the format is unset and
> the window is private. If the window isn't private, use
> wglSetPixelFormatWINE, which allows for another application to change
> the pixel format.
>
> Signed-off-by: Connor McAdams <cmcadams at codeweavers.com>
> ---
>  dlls/wined3d/context_gl.c | 22 +++++++++++++++++-----
>  1 file changed, 17 insertions(+), 5 deletions(-)
>
Does something like the attached patch work as well?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 3678 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210419/d42118df/attachment-0001.bin>


More information about the wine-devel mailing list