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

Skip to content

Commit e76d9f7

Browse files
committed
Update old reference to DestroyDebugReportCallbackEXT
1 parent 71677ac commit e76d9f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

03_Drawing_a_triangle/04_Swap_chain_recreation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ void cleanup() {
9797
vkDestroyDevice(device, nullptr);
9898

9999
if (enableValidationLayers) {
100-
DestroyDebugReportCallbackEXT(instance, callback, nullptr);
100+
DestroyDebugUtilsMessengerEXT(instance, debugMessenger, nullptr);
101101
}
102102

103103
vkDestroySurfaceKHR(instance, surface, nullptr);

0 commit comments

Comments
 (0)