[PATCH v2 3/5] wined3d: Get output from window in wined3d_swapchain_state_init().