SwapChain function naming
This commit is contained in:
parent
fb41887c9d
commit
0c5705f2e9
2 changed files with 7 additions and 6 deletions
|
|
@ -1025,15 +1025,15 @@ void VulkanExampleBase::setupRenderPass()
|
|||
void VulkanExampleBase::initSwapchain()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
swapChain.initSwapChain(windowInstance, window);
|
||||
swapChain.initSurface(windowInstance, window);
|
||||
#else
|
||||
swapChain.initSwapChain(connection, window);
|
||||
swapChain.initSurface(connection, window);
|
||||
#endif
|
||||
}
|
||||
|
||||
void VulkanExampleBase::setupSwapChain()
|
||||
{
|
||||
swapChain.setup(setupCmdBuffer, &width, &height);
|
||||
swapChain.create(setupCmdBuffer, &width, &height);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue