blurrypiano / littleVulkanEngine

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

Tutorial 03 not a type name #43

Closed Pureya closed 9 months ago

Pureya commented 9 months ago

I'm trying to learn about Vulcan here and While I'm following along with the video in the device header where you paste the constructor pipeline the lveDevice& device, seems to give off that error. Screenshot 2023-11-23 005123

therpgmaster commented 9 months ago

ebDevice is either a class or a member of ebPipeline, you can't use the same name. You have both ebDevice& (meaning: reference to ebDevice type, as a parameter) and ebDevice{ device } (meaning: ebDevice = device). Did you mean to do device{ device }? (This is a special case where parameter/member with the same name is allowed)

Pureya commented 9 months ago

It seems I made a mistake in capitalization. Thank you therpgmaster for your help.

therpgmaster commented 9 months ago

It seems I made a mistake in capitalization. Thank you therpgmaster for your help.

@Pureya No problem. Happy to help, anytime