aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/window
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11/window')
-rw-r--r--src/x11/window/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11/window/mod.rs b/src/x11/window/mod.rs
index 58439e8..c7ca780 100644
--- a/src/x11/window/mod.rs
+++ b/src/x11/window/mod.rs
@@ -42,7 +42,7 @@ impl Window {
// getting the FBConfig
let fb_config = unsafe {
- static VISUAL_ATTRIBUTES: [libc::c_int, ..23] = [
+ const VISUAL_ATTRIBUTES: [libc::c_int, ..23] = [
ffi::GLX_X_RENDERABLE, 1,
ffi::GLX_DRAWABLE_TYPE, ffi::GLX_WINDOW_BIT,
ffi::GLX_RENDER_TYPE, ffi::GLX_RGBA_BIT,