1// Copyright 2018-2022 The Khronos Group Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5When a swapchain associated with a display surface is destroyed, if the 6image most recently presented to the display surface is from the swapchain 7being destroyed, then either any display resources modified by presenting 8images from any swapchain associated with the display surface must: be 9reverted by the implementation to their state prior to the first present 10performed on one of these swapchains, or such resources must: be left in 11their current state. 12