On Sat, 7 Mar 2020 at 14:00, RĂ©mi Bernon rbernon@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.