Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update recreateSwapChain
  • Loading branch information
Fill4 committed Aug 7, 2018
commit dfb4a3de944482af227590f1efe98942453943da
12 changes: 12 additions & 0 deletions 10_Multisampling.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,18 @@ void cleanupSwapChain() {
}
```

And update the `recreateSwapChain` so that the new color images can be recreated in the correct resolution when the window is resized:

```c++
void recreateSwapChain() {
...
createGraphicsPipeline();
createColorResources();
createDepthResources();
...
}
```

We made it past the initial MSAA setup, now we need to start using these new resources in our graphics pipeline, framebuffer, render pass and see the results!

## Adding new attachments
Expand Down