On 14 December 2011 23:45, qwerty0987654321@mail.ru wrote:
@@ -871,6 +871,13 @@ static HRESULT swapchain_init(struct wined3d_swapchain *swapchain, WINED3DSURFTY swapchain->win_handle = window; swapchain->device_window = window;
- if (!desc->windowed && window)
- {
- wined3d_device_setup_fullscreen_window(device,window,
- desc->backbuffer_width,
- desc->backbuffer_height);
- }
I don't think that's even close to a proper fix. Regardless, any patch touching this part of the code should come with a test.