aclysma / rafx

Multi-backend renderer with asset pipeline. The objective of this repo is to build a scalable, flexible, data driven renderer.
Apache License 2.0
642 stars 32 forks source link

Switch demo to winit #162

Closed aclysma closed 3 years ago

aclysma commented 3 years ago

While I do strongly prefer SDL2 in my own projects, winit is more wasm-friendly and may be easier for some people to build/run. The examples still use SDL2 so support for it won't rot.

aclysma commented 3 years ago

I switched it to use clipboard and turned it off by default as there is a security advisory for the replacement. We could consider removing in the future. The advisory only affects x11. I didn't see a good way to disable it for just x11.