Re: [PATCH v2 0/1] MR2299: wined3d: Do not switch pixel format on non-private GL contexts.
28 Feb
2023
28 Feb
'23
10:26 a.m.
Matteo Bruni (@Mystral) commented about dlls/wined3d/context_gl.c:
current = gl_info->gl_ops.wgl.p_wglGetPixelFormat(dc); if (current == format) goto success;
+ if (current && !private) + return FALSE;
I guess we could add a WARN("Using pixel format %u already set on DC %p.\n", current, dc); or something. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2299#note_25713
1101
Age (days ago)
1101
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matteo Bruni (@Mystral)