[PATCH] wined3d: Adjust video memory when resizing swapchain buffers.