I need minimal code that runs wgpu on x86_64 (clear screen, draw triangle).
I use to be using this tutorial: Dependencies and the window | Learn Wgpu which was great for wasm32, but not working for me on x86_64 (creates window, but does not clear screen, and draws nothing).
Googling, there is this outdated example:
Is there a minimal example elsewhere, or is the above hello-triangle/main.rs the way to go ?
Thanks!
[ just need a minimal wgpu clear screen + draw triangle on x86_64 to work, so I can port other code over ]