eliemichel / LearnWebGPU-Code

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

Update Application.cpp in step105 #38

Closed delanema closed 2 months ago

delanema commented 2 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 2 months ago

Good catch, thanks!