Closed yeti424 closed 2 months ago
Hi.
I suppose your wgpu::Device is an attribute of your Application class. If so, give your device a default value (since it's a pointer you can assign nullptr to it). The default constructor needs to be able to initialize the attributes of the class, otherwise either you initialize them yourself by giving them a default value or you use the initialization list of the constructor (eg. Application::Application() : device(nullptr) {}
). In your case, you could just assign nullptr to your device.
Best regards, ajvp
Hi,
this worked just fine - thanks for the help!
Best Regards, yeti
Hi,
hope this question is not too stupid, but I can't compile Step030 (and others non-vanilla ones).
Error message:
I'm using clang compiler on a Mac M1 Pro. Let me know if you need more info...
Regards, yeti