diff --git a/Cargo.toml b/Cargo.toml index 48a82c2..6b8c17d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "offscreen_gl_context" license = "MIT / Apache-2.0" -version = "0.8.5" +version = "0.8.6" authors = ["Emilio Cobos Álvarez ", "The Servo Project Developers"] description = "Creation and manipulation of HW accelerated offscreen rendering contexts in multiple platforms. Originally intended for the Servo project's WebGL implementation." repository = "https://github.com/emilio/rust-offscreen-rendering-context" diff --git a/src/platform/with_egl/native_gl_context.rs b/src/platform/with_egl/native_gl_context.rs index 26d17fc..4e9dc6b 100644 --- a/src/platform/with_egl/native_gl_context.rs +++ b/src/platform/with_egl/native_gl_context.rs @@ -11,7 +11,7 @@ lazy_static! { static ref GL_LIB: Option = { let names = ["libGLESv2.so", "libGL.so", "libGLESv3.so"]; for name in &names { - if let Ok(lib) = Library::new(name) + if let Ok(lib) = lib::Library::new(name) { return Some(lib) } }