[PATCH 7/8] wined3d: Store a struct wined3d pointer in struct wined3d_swapchain_state.