[Apple Arm] Hack for suboptimal swapchains in parallel-rdp on MacOS

This commit is contained in:
SimoneN64
2025-02-09 20:47:30 +01:00
parent 921956268e
commit b819299308

View File

@@ -720,8 +720,10 @@ bool WSI::begin_frame()
#ifdef VULKAN_DEBUG
LOGI("AcquireNextImageKHR is suboptimal, will recreate.\n");
#endif
#ifndef __APPLE__
swapchain_is_suboptimal = true;
LOGW("Swapchain suboptimal.\n");
#endif
}
if (result >= 0)
@@ -902,7 +904,9 @@ bool WSI::end_frame()
#ifdef VULKAN_DEBUG
LOGI("QueuePresent is suboptimal, will recreate.\n");
#endif
#ifndef __APPLE__
swapchain_is_suboptimal = true;
#endif
}
// The present semaphore is consumed even on OUT_OF_DATE, etc.