[PATCH v2 1/3] wined3d: Move the window resize during swapchain activation to a separate function.