Overv / VulkanTutorial

Tutorial for the Vulkan graphics and compute API
https://vulkan-tutorial.com
Creative Commons Attribution Share Alike 4.0 International
3.15k stars 515 forks source link

Fix incorrect create image view error message #334

Closed merrittlj closed 1 year ago

merrittlj commented 1 year ago

The function "createImageView" has a somewhat incorrect error message, saying that it failed to create a texture image view. However, the function is also used by more than simply the texture image view creation process(e.g., the swapchain image view creation process, "createImageViews").

This patch is applied to all subject code files, and the English "06_Texture_mapping/01_Image_view_and_sampler.md" file has also been modified.

The French version of the markdown file remains unchanged due to my lack of knowledge about French, but probably should be changed in the near future to maintain consistency.

Overv commented 1 year ago

Good catch, thanks!