Merge 1f8d5c7b84a781d421d3f5c0919eac33788f5de1 into 06df71c51446e96939c6a615b7c34ce9123806ba

This commit is contained in:
Jason Simmons 2026-02-19 16:47:10 +01:00 committed by GitHub
commit 7fbb877595
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,6 +47,9 @@ ScopedObject<SurfaceVK> SwapchainVK::AcquireNextSurface() {
return nullptr;
}
auto& context_vk = impeller::ContextVK::Cast(*context_->GetContext());
context_vk.DisposeThreadLocalCachedResources();
auto impeller_surface = swapchain_->AcquireNextDrawable();
if (!impeller_surface) {
VALIDATION_LOG << "Could not acquire next drawable.";