Index: tools/viewer/sk_app/VulkanWindowContext.cpp |
diff --git a/tools/viewer/sk_app/VulkanWindowContext.cpp b/tools/viewer/sk_app/VulkanWindowContext.cpp |
index 2e2b8a988c01205f23d1e9bc6c64b93dd4d8ebc8..f192c697e82b9db62875603bdd43d420700617da 100644 |
--- a/tools/viewer/sk_app/VulkanWindowContext.cpp |
+++ b/tools/viewer/sk_app/VulkanWindowContext.cpp |
@@ -388,6 +388,7 @@ void VulkanWindowContext::destroyContext() { |
return; |
} |
+ GR_VK_CALL(fBackendContext->fInterface, QueueWaitIdle(fPresentQueue)); |
GR_VK_CALL(fBackendContext->fInterface, DeviceWaitIdle(fBackendContext->fDevice)); |
this->destroyBuffers(); |