aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/x11/ffi.rs
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-09-20 08:48:53 +0200
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-09-20 08:48:53 +0200
commit82bb047fda3912489d024dbf40613168ded50527 (patch)
tree83953705406ff67e9f2850e53801cc2d559f1954 /src/api/x11/ffi.rs
parentb9a4f5fbe90a94fbca2e6816b92a129dabfe81fd (diff)
downloadglutin-82bb047fda3912489d024dbf40613168ded50527.tar.gz
glutin-82bb047fda3912489d024dbf40613168ded50527.zip
Report the error from x11-rs when failing to open shared libraries
Diffstat (limited to 'src/api/x11/ffi.rs')
-rw-r--r--src/api/x11/ffi.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/x11/ffi.rs b/src/api/x11/ffi.rs
index 3d4f0ed..465aa95 100644
--- a/src/api/x11/ffi.rs
+++ b/src/api/x11/ffi.rs
@@ -5,6 +5,8 @@ pub use x11_dl::xlib::*;
pub use x11_dl::xinput::*;
pub use x11_dl::xinput2::*;
+pub use x11_dl::error::OpenError;
+
pub use self::glx::types::GLXContext;
/// GLX bindings