An SDL2 back-end for the Piston game engine
Maintainers: @TyOverby, @bvssvni, @Coeuvre, @mitchmindtree
To use this as a dependency, add the following code to your Cargo.toml file:
[dependencies.pistoncore-sdl2_window]
git = "https://github.com/PistonDevelopers/sdl2_window"
let mut window: Sdl2Window = WindowSettings::new("SDL Window", (640, 480))
.fullscreen(false)
.vsync(true)
.build()
.unwrap();
See the examples for more ways to create a window.