egl

Crates.ioegl
lib.rsegl
version0.2.7
sourcesrc
created_at2015-09-23 21:18:22.027562
updated_at2016-12-06 02:34:54.40425
descriptionRust bindings for EGL
homepagehttps://github.com/seankerr/rust-egl
repositoryhttps://github.com/seankerr/rust-egl
max_upload_size
id3097
size26,656
Sean Kerr (seankerr)

documentation

README

Rust bindings for EGL

Linking

When using OpenGL ES with rust-egl, it is necessary to place a dummy extern at the top of your application which links libEGL first, then GLESv1/2. This is because libEGL provides symbols required by GLESv1/2. Here's how to work around this:

#[link(name = "EGL")]
#[link(name = "GLESv2)]
extern {}
Commit count: 21

cargo fmt