LearnWebGPU-Code
LearnWebGPU-Code copied to clipboard
Segfault in Application::Terminate in step033-optionB-next
Hello Elie,
Here: https://github.com/eliemichel/LearnWebGPU-Code/blob/step033-optionB-next/Application.cpp#L219, the call to m_vertexBuffer.release() causes a crash because this variable is not initialized in that branch.
Fantastic guide; thanks a lot.
It also happens on other branches like step034-next (here: https://github.com/eliemichel/LearnWebGPU-Code/blob/step034-next/Application.cpp#L213) or step037-next.