blurrypiano / littleVulkanEngine

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

[FEEDBACK] Tutorial 04 and configInfo{} : Brendan Galea #18

Closed yeokaiwei closed 2 years ago

yeokaiwei commented 2 years ago

Encapsulating the instance of PipelineConfigInfo configInfo{}; within PipelineConfigInfo LvePipeline::defaultPipelineConfigInfo(uint32_t width, uint32_t height) C

will result in an C2065 error as the compiler can't detect configInfo

B

A

Is this supposed to happen?

Thank you.

blurrypiano commented 2 years ago

hmmm I'm not sure what exactly is going on here, do you not have config info declared above? also a comment on the youtube video for the specific tutorial is preferable. I check the youtube comments more often, and the issues here are really for problems with the codebase, and less so the tutorial content.