added GPUDevice::WaitIdle function.
This commit is contained in:
parent
3c449df4ca
commit
5b5ec1df7a
@ -327,6 +327,8 @@ public:
|
|||||||
if(win->IsVisible())
|
if(win->IsVisible())
|
||||||
Draw();
|
Draw();
|
||||||
|
|
||||||
|
device->WaitIdle();
|
||||||
|
|
||||||
return(true);
|
return(true);
|
||||||
}
|
}
|
||||||
};//class VulkanApplicationFramework
|
};//class VulkanApplicationFramework
|
||||||
|
@ -96,6 +96,8 @@ public:
|
|||||||
|
|
||||||
const VkExtent2D & GetSwapchainSize ()const {return swapchainRT->GetExtent();}
|
const VkExtent2D & GetSwapchainSize ()const {return swapchainRT->GetExtent();}
|
||||||
|
|
||||||
|
void WaitIdle ()const {vkDeviceWaitIdle(attr->device);}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
bool Resize (const VkExtent2D &);
|
bool Resize (const VkExtent2D &);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user