Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 2 additions & 3 deletions en/03_Drawing_a_triangle/00_Setup/01_Instance.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,9 @@ https://vulkan.lunarg.com/doc/sdk/1.3.216.0/mac/getting_started.html[Getting Sta
Beginning with the 1.3.216 Vulkan SDK, the `VK_KHR_PORTABILITY_subset`
extension is mandatory.

To get over this error, first add the
`vk::InstanceCreateFlagBits::eEnumeratePortabilityKHR` bit
To get over this error, first add the `vk::InstanceCreateFlagBits::eEnumeratePortabilityKHR` bit
to `VkInstanceCreateInfo` struct flags, then add
`vk::KHRPortabilityEnumerationExtensionName`to instance enabled
`vk::KHRPortabilityEnumerationExtensionName` to instance enabled
extension list.

Typically, the code could be like this:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ image::/images/swap_chain_validation_layer.png[]

== Retrieving the swap chain images
The swap chain has been created now, so all that remains is retrieving the
handles of the `VkImage`s in it. We'll reference these during rendering
handles of the `VkImage` objects it contains. We'll reference these during rendering
operations in later chapters.

[,c++]
Expand Down
Loading