Rust-SDL2 / rust-sdl2

SDL2 bindings for Rust
MIT License
2.74k stars 468 forks source link

Info about raw-window-handle #1392

Closed Khalzz closed 3 months ago

Khalzz commented 5 months ago

I can't find info about how to get access to the raw window handle generated by my sdl2 app, wich part of the documentation shows info about it?

Cobrand commented 5 months ago

If my memory serves me right you only need to enable the feature "raw-window-handle", but it's true there is no documentation about this, this could be improved.

Khalzz commented 5 months ago

Also i tried to use WGPU 0.19+ in a sdl2 app and the versions dont work, apparently because of raw-window-handle

Cobrand commented 3 months ago

Fixed on master, added documentation in readme.