Merge "Remove vkDeviceWaitIdle call when destroying VulkanSurface" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6b8659f971
@@ -657,7 +657,6 @@ void VulkanManager::destroySurface(VulkanSurface* surface) {
|
|||||||
if (VK_NULL_HANDLE != mGraphicsQueue) {
|
if (VK_NULL_HANDLE != mGraphicsQueue) {
|
||||||
mQueueWaitIdle(mGraphicsQueue);
|
mQueueWaitIdle(mGraphicsQueue);
|
||||||
}
|
}
|
||||||
mDeviceWaitIdle(mDevice);
|
|
||||||
|
|
||||||
delete surface;
|
delete surface;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user