Adjust samples to recent swap chain class changes
This commit is contained in:
parent
dcec337fa9
commit
e9270580b8
4 changed files with 6 additions and 6 deletions
|
|
@ -505,7 +505,7 @@ public:
|
|||
void setupFrameBuffer()
|
||||
{
|
||||
// Create a frame buffer for every image in the swapchain
|
||||
frameBuffers.resize(swapChain.imageCount);
|
||||
frameBuffers.resize(swapChain.images.size());
|
||||
for (size_t i = 0; i < frameBuffers.size(); i++)
|
||||
{
|
||||
std::array<VkImageView, 2> attachments{};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue