aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/x11
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/x11')
-rw-r--r--src/api/x11/mod.rs2
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")));