Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

nukep/glium-sdl2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glium_sdl2

Build Status Latest Version

An SDL2 backend for Glium - a high-level OpenGL wrapper for the Rust language.

This library, along with glium and rust-sdl2, are in heavy development and are subject to change.

[dependencies]
glium_sdl2 = "0.15"
sdl2 = "0.30"
glium = "0.18"

features = []
default-features = false

glium_sdl2 doesn't reexport the glium or sdl2 crates, so you must declare them with the versions listed above in your Cargo.toml file.

glium_sdl2's version will be bumped once this library, glium or sdl2 make breaking changes.

Example usage

See the examples/ folder for examples. Here's a bare-bones skeleton program that initializes SDL2 and Glium, and does nothing:

Using glium with SDL2 is very similar to using glium with glutin. Generally speaking, Glium documentation and tutorials should be fairly trivial to adapt to SDL2.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

About

An SDL2 backend for Glium

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages