[PATCH 5/7] wined3d: Add swapchain parameter to wined3d_swapchain_set_fullscreen.

Henri Verbeet hverbeet at gmail.com
Mon Mar 9 05:25:40 CDT 2020

On Sat, 7 Mar 2020 at 14:00, Rémi Bernon <rbernon at codeweavers.com> wrote:
> We need that in the next patch to have access to swapchain_ops.
> This parameter may be NULL if the swapchain is not actually a wined3d
> swapchain (in the case of d3d12 swapchain).
The swapchain_state structure was for a large part introduced to avoid
needing a wined3d swapchain for d3d12 swapchains, so this change
doesn't seem all that attractive. Would it make sense to pass an ops
structure to wined3d_swapchain_state_init() instead?

More information about the wine-devel mailing list