old_school_gfx_glutin_ext
Extensions for glutin to initialize & update old school gfx. An alternative to gfx_window_glutin.
use *;
type ColorFormat = Srgba8;
type DepthFormat = DepthStencil;
// Initialize
let =
new
.
.build_windowed?
.;
// Update, ie after a resize
window_ctx.update_gfx;
Example
cargo run --example triangle
Minimum supported rust compiler
All crates maintained with latest stable rust.