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

Skip to content

Commit 0da8c18

Browse files
authored
Fix incorrect function name in example
There was a typo in the paragraph above the code example: `setupDebugCallback` != `createDebugCallback` This fixes it.
1 parent bbd14af commit 0da8c18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

03_Drawing_a_triangle/00_Setup/02_Validation_layers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ this handle right under `instance`:
262262
VkDebugReportCallbackEXT callback;
263263
```
264264

265-
Now add a function `createDebugCallback` to be called from `initVulkan` right
265+
Now add a function `setupDebugCallback` to be called from `initVulkan` right
266266
after `createInstance`:
267267

268268
```c++

0 commit comments

Comments
 (0)