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

Skip to content

Commit 839fb32

Browse files
committed
Add comment as response to common mistake
1 parent f74224d commit 839fb32

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

03_Drawing_a_triangle/01_Presentation/01_Swap_chain.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ createInfo.enabledExtensionCount = static_cast<uint32_t>(deviceExtensions.size()
9191
createInfo.ppEnabledExtensionNames = deviceExtensions.data();
9292
```
9393

94+
Make sure to replace the existing line `createInfo.enabledExtensionCount = 0;` when you do so.
95+
9496
## Querying details of swap chain support
9597

9698
Just checking if a swap chain is available is not sufficient, because it may not

0 commit comments

Comments
 (0)