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

Skip to content

Commit 27d3873

Browse files
committed
Fix confusing wording in swap chain chapter (fixes #117)
1 parent 583822f commit 27d3873

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

03_Drawing_a_triangle/01_Presentation/01_Swap_chain.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ the extension does have to be explicitly enabled.
8282

8383
## Enabling device extensions
8484

85-
Using a swapchain requires enabling the `VK_KHR_swapchain` extension first.
86-
Enabling the extension just requires a small change to the logical device
85+
Using a swapchain requires enabling the `VK_KHR_swapchain` extension first.
86+
Enabling the extension just requires a small change to the logical device
8787
creation structure:
8888

8989
```c++
@@ -409,9 +409,9 @@ void createSwapChain() {
409409
}
410410
```
411411

412-
There is actually one more small things that need to be decided upon, but it's
413-
so simple that it's not really worth creating separate functions for them. The
414-
first one is the number of images in the swap chain, essentially the queue
412+
Now, there is actually one more small thing that need to be decided upon, but it's
413+
so simple that it's not really worth creating a separate function for. That is
414+
deciding the number of images in the swap chain, essentially the queue
415415
length. The implementation specifies the minimum amount of images to function
416416
properly and we'll try to have one more than that to properly implement triple
417417
buffering.

0 commit comments

Comments
 (0)