diff options
author | Esption <esption@gmail.com> | 2015-05-08 12:31:56 -0500 |
---|---|---|
committer | Esption <esption@gmail.com> | 2015-05-08 12:31:56 -0500 |
commit | c973a1f83e2f9cea017e9dd48c4acaeb23fe5eb7 (patch) | |
tree | 64a7282c58e3ad6e7de4221b27840caeb857bd87 /src/api/x11 | |
parent | 0d10dda72a3d56ec137da0359b2f46fc75b7aaa9 (diff) | |
download | glutin-c973a1f83e2f9cea017e9dd48c4acaeb23fe5eb7.tar.gz glutin-c973a1f83e2f9cea017e9dd48c4acaeb23fe5eb7.zip |
Fixed build warnings
Diffstat (limited to 'src/api/x11')
-rw-r--r-- | src/api/x11/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/x11/mod.rs b/src/api/x11/mod.rs index 4edfbbd..4efa11c 100644 --- a/src/api/x11/mod.rs +++ b/src/api/x11/mod.rs @@ -414,7 +414,7 @@ impl Window { }; // getting the visual infos - let mut visual_infos: ffi::glx::types::XVisualInfo = unsafe { + let visual_infos: ffi::glx::types::XVisualInfo = unsafe { let vi = glx.GetVisualFromFBConfig(display as *mut _, fb_config); if vi.is_null() { return Err(OsError(format!("glx::ChooseVisual failed"))); |