diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-05-09 07:04:01 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-05-09 07:04:01 +0200 |
commit | 9ba9bfc369a211d96688a785a0bfe9d572d8638b (patch) | |
tree | 3088cf5a56d0e96a47301a17ac376552c338a94a /src/api/x11 | |
parent | 3f20bf345e4464ab83e7b8d1737b0173ec7b6d4f (diff) | |
parent | c973a1f83e2f9cea017e9dd48c4acaeb23fe5eb7 (diff) | |
download | glutin-9ba9bfc369a211d96688a785a0bfe9d572d8638b.tar.gz glutin-9ba9bfc369a211d96688a785a0bfe9d572d8638b.zip |
Merge pull request #439 from Esption/master
Fixed build warnings on Linux
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"))); |