eliemichel / LearnWebGPU-Code

The accompanying code of the Learn WebGPU C++ programming guide
https://eliemichel.github.io/LearnWebGPU
MIT License
114 stars 30 forks source link

Update Application.cpp in step105 #38

Closed delanema closed 6 months ago

delanema commented 7 months ago

adapter.release() is called twice in Application::initWindowAndDevice(), which caused an exception and closed the app. Deleted the adapter.release() on line 319, and the app now opens and runs properly.

System info: Windows 11, intel CPU & integrated GPU, Dawn using Vulkan backend.

eliemichel commented 6 months ago

Good catch, thanks!