mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge 1f8d5c7b84a781d421d3f5c0919eac33788f5de1 into 06df71c51446e96939c6a615b7c34ce9123806ba
This commit is contained in:
commit
7fbb877595
@ -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.";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user