blurrypiano / littleVulkanEngine

Code repo for video tutorial series teaching Vulkan and computer graphics
MIT License
829 stars 147 forks source link

[FEEDBACK] Vulkan Game Engine Tutorial 02, Capital L and small l : Brendan Galea #17

Closed yeokaiwei closed 2 years ago

yeokaiwei commented 2 years ago

Hi, I just wanted to give some feedback on Tutorial 02.

I thought I should share it with everyone, just in case they made the same mistake I did.

I made a small mistake with capitalization and the compiler error message will be very confusing.

In 19:15 of your video, you want to create an instance of LvePipeline.

However, if you accidentally type in "LvePipeline" instead of "lvePipeline", you will create a member function instead of creating an instance.

Severity Code Description Project File Line Suppression State Error C2059 syntax error: 'string' vlkGameEngine C:\Users\user\source\repos\vlkGameEngine\vlkGameEngine\first_app.h 20

Capture

Thanks.

yeokaiwei commented 2 years ago

Once it's set as a member function, it won't be able to change back to an instance.

Capture

blurrypiano commented 2 years ago

Thanks for sharing! Please leave future comments like this on the youtube videos itself! Peopline are more likely to see them there (including me)