Skip to content

Commit 9e77a9d

Browse files
authored
Typo fix
k::ImageLayout::eUndefined to vk::ImageLayout::eUndefined
1 parent 995af0f commit 9e77a9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

en/07_Depth_buffering.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ transition_image_layout(
385385
vk::ImageAspectFlagBits::eDepth);
386386
----
387387

388-
Unlike as with the color image we don't need multiple barriers here. As we don't care for the contents of the depth attachment once the frame is finished, we can always translate from `k::ImageLayout::eUndefined`. What's special about this layout, is the fact that you can always use it as a source without having to care what happens before.
388+
Unlike as with the color image we don't need multiple barriers here. As we don't care for the contents of the depth attachment once the frame is finished, we can always translate from `vk::ImageLayout::eUndefined`. What's special about this layout, is the fact that you can always use it as a source without having to care what happens before.
389389

390390
Also make sure you adjust all other calls to the `transition_image_layout` function call to pass the correct image aspect:
391391

0 commit comments

Comments
 (0)