Skip to content

Commit 0686ff5

Browse files
committed
Fix typo
1 parent 64ba099 commit 0686ff5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/triangle/triangle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class VulkanExample : public VulkanExampleBase
143143
for (size_t i = 0; i < presentCompleteSemaphores.size(); i++) {
144144
vkDestroySemaphore(device, presentCompleteSemaphores[i], nullptr);
145145
}
146-
for (size_t i = 0; i < presentCompleteSemaphores.size(); i++) {
146+
for (size_t i = 0; i < renderCompleteSemaphores.size(); i++) {
147147
vkDestroySemaphore(device, renderCompleteSemaphores[i], nullptr);
148148
}
149149
for (uint32_t i = 0; i < MAX_CONCURRENT_FRAMES; i++) {

examples/trianglevulkan13/trianglevulkan13.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class VulkanExample : public VulkanExampleBase
134134
for (size_t i = 0; i < presentCompleteSemaphores.size(); i++) {
135135
vkDestroySemaphore(device, presentCompleteSemaphores[i], nullptr);
136136
}
137-
for (size_t i = 0; i < presentCompleteSemaphores.size(); i++) {
137+
for (size_t i = 0; i < renderCompleteSemaphores.size(); i++) {
138138
vkDestroySemaphore(device, renderCompleteSemaphores[i], nullptr);
139139
}
140140
for (uint32_t i = 0; i < MAX_CONCURRENT_FRAMES; i++) {

0 commit comments

Comments
 (0)