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

Skip to content

Commit efe561d

Browse files
authored
Fix typo
1 parent 4ed54ab commit efe561d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

en/03_Drawing_a_triangle/03_Drawing/02_Rendering_and_presentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ void drawFrame() {
524524

525525
The `vkWaitForFences` function takes an array of fences and waits for either any or all of them to be signaled before returning. The `VK_TRUE` we pass here indicates that we want to wait for all fences, but in the case of a single one it obviously doesn't matter. Just like `vkAcquireNextImageKHR` this function also takes a timeout. Unlike the semaphores, we manually need to restore the fence to the unsignaled state by resetting it with the `vkResetFences` call.
526526

527-
If you run the program now, you'll notice something something strange. The application
527+
If you run the program now, you'll notice something strange. The application
528528
no longer seems to be rendering anything. The problem is that we're waiting for a fence
529529
that has not been submitted. Fences are created in the unsignaled state by default,
530530
which means that `vkWaitForFences` will wait forever if we haven't used the fence

0 commit comments

Comments
 (0)