[PATCH 4/5] wined3d: Update the swapchain flags on wined3d_device_reset().