This is a prototype SDL2 integration for bevy. It requires two upstream changes:
- Support for raw-window-handle in bevy (https://github.com/aclysma/bevy/tree/use-raw-window-handle)
- A patch for macOS in gfx-hal (gfx-rs/gfx#3329)
Tested on macOS. Only the events generated by the winit backend are supported.
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Exceptions:
- Bevy and the example code derived from Bevy is under the MIT license
- The font FiraSans is under the SIL OFL 1.1 license
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
See LICENSE-APACHE and LICENSE-MIT.