Merge master branch into multiple_swapchains_present_req
authorIason Paraskevopoulos <iason.paraskevopoulos@arm.com>
Fri, 12 Nov 2021 12:19:58 +0000 (12:19 +0000)
committerIason Paraskevopoulos <iason.paraskevopoulos@arm.com>
Fri, 12 Nov 2021 12:21:10 +0000 (12:21 +0000)
Change-Id: I153e7a78609651bbfdf4fc0b6675d0ea97763905
Signed-off-by: Iason Paraskevopoulos <iason.paraskevopoulos@arm.com>
1  2 
layer/swapchain_api.cpp
wsi/swapchain_base.cpp
wsi/wayland/swapchain.cpp
wsi/wayland/swapchain.hpp

index 72045681a696fa18f5266a24addccfa7253cb329,e46ca87eb14326c0605a0b4a68ccfa9c11429bdb..b7c495fd039fe9b97c5fee178c96738495390ad7
@@@ -209,10 -146,10 +209,10 @@@ wsi_layer_vkQueuePresentKHR(VkQueue que
     {
        VkSwapchainKHR swapc = pPresentInfo->pSwapchains[i];
  
-       wsi::swapchain_base *sc = reinterpret_cast<wsi::swapchain_base *>(swapc);
+       auto *sc = reinterpret_cast<wsi::swapchain_base *>(swapc);
        assert(sc != nullptr);
  
 -      VkResult res = sc->queue_present(queue, pPresentInfo, pPresentInfo->pImageIndices[i]);
 +      res = sc->queue_present(queue, present_info, pPresentInfo->pImageIndices[i]);
  
        if (pPresentInfo->pResults != nullptr)
        {
Simple merge
Simple merge
Simple merge