[PATCH 6/7] wined3d: Use GetWindowRect if the swapchain is fullscreen exclusive.
Henri Verbeet
hverbeet at gmail.com
Mon Mar 9 05:25:47 CDT 2020
On Sat, 7 Mar 2020 at 14:00, Rémi Bernon <rbernon at codeweavers.com> wrote:
> - GetClientRect(context_gl->window, &window_size);
> + if (rt->swapchain->state.fullscreen_exclusive)
> + GetWindowRect(context_gl->window, &window_size);
> + else
> + GetClientRect(context_gl->window, &window_size);
This looks like it would benefit from a helper function.
More information about the wine-devel
mailing list