Overv / VulkanTutorial

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

Fixed some typos #175

Closed tsonge closed 4 years ago

tsonge commented 4 years ago

Here are some typos I found while reading.

Also, I'm not sure if this is intended or not but starting from the 01_Vertex_buffer_creation.md chapter onwards, there is an unusual indentation in the code line with memcpy(data, vertices.data(), (size_t) bufferInfo.size);, both in that page itself, and in the accompanying C++ code for that page (and all subsequent pages/code samples in the following chapters, AFAIK). I haven't done anything about that since I don't know if this is intended or not.

P.S. Thanks for the amazing tutorial!

Overv commented 4 years ago

Thanks for the fixes.

The indentation of memcpy was indeed intentional with my reasoning being that it's supposed to be this operation that is executed within the "memory being mapped" block.