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

Skip to content

Commit 4eb7147

Browse files
committed
Update tutorial with new validation layer output from failure to remove debug callback
1 parent 61f02f9 commit 4eb7147

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

03_Drawing_a_triangle/00_Setup/02_Validation_layers.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,14 +327,16 @@ Since the debug callback is specific to our Vulkan instance and its layers, it
327327
needs to be explicitly specified as first argument. You will also see this
328328
pattern with other *child* objects later on. Let's see if it works... Run the
329329
program and close the window once you're fed up with staring at the blank
330-
window. You'll see that the following message is printed to the command prompt:
330+
window. You'll see that the following messages are printed to the command prompt:
331331

332332
![](/images/validation_layer_test.png)
333333

334334
Oops, it has already spotted a bug in our program! The
335335
`VkDebugReportCallbackEXT` object needs to be cleaned up with a call to
336336
`vkDestroyDebugReportCallbackEXT`. Similarly to `vkCreateDebugReportCallbackEXT`
337-
the function needs to be explicitly loaded. Create another proxy function right
337+
the function needs to be explicitly loaded. The reason for there being multiple messages is that multiple validation layers check for the deletion of the debug report callback.
338+
339+
Create another proxy function right
338340
below `CreateDebugReportCallbackEXT`:
339341

340342
```c++

images/validation_layer_test.png

2.26 KB
Loading

0 commit comments

Comments
 (0)