Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 087de56 commit bfa5b0fCopy full SHA for bfa5b0f
1 file changed
03_Drawing_a_triangle/00_Setup/01_Instance.md
@@ -96,7 +96,8 @@ Vulkan follow is:
96
If everything went well then the handle to the instance was stored in the
97
`VkInstance` class member. Nearly all Vulkan functions return a value of type
98
`VkResult` that is either `VK_SUCCESS` or an error code. To check if the
99
-instance was created successfully, simply add a check for the success value:
+instance was created successfully, we don't need to store the result and can
100
+just use a check for the success value instead:
101
102
```c++
103
if (vkCreateInstance(&createInfo, nullptr, &instance) != VK_SUCCESS) {
0 commit comments