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

Improve wording and C++ usage in 01_Instance #177

Closed vittorioromeo closed 4 years ago

vittorioromeo commented 4 years ago

Rationale:

Overv commented 4 years ago

With these changes one could argue that the same should be applied to all chapters, with the exception of debug callback messages since the flushing would result in a more predictable debugging experience there. What do you think?

vittorioromeo commented 4 years ago

I would generally agree with that approach. \n should be your default, and std::endl should be used only when you want to ensure the message is immediately flushed to the console (or a file).