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