I noticed that from 2024 August API changed of getting surface from HTML canvas. There used to be function called WGPUSurfaceDescriptorFromCanvasHTMLSelector and most of the tutorials followed it https://developer.chrome.com/docs/web-platform/webgpu/build-app.
I am curious what is the new way to get surface from HTML for WebGPU? Also I am using SDL2 for window managing.