aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/window
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-10-10 17:39:11 +0200
committerTomaka17 <pierre.krieger1708@gmail.com>2014-10-10 17:52:47 +0200
commitc316c86e7c5996e0b0965682f4260d20191e5b6d (patch)
tree10840e82b6bfd4ea7da3eb8b93dfd367930f996f /src/x11/window
parentb66abed7aeb3685552a2cb6caa34e8c4eb6dbb12 (diff)
downloadglutin-c316c86e7c5996e0b0965682f4260d20191e5b6d.tar.gz
glutin-c316c86e7c5996e0b0965682f4260d20191e5b6d.zip
Update for rustc f9fc49c06 2014-10-10 00:07:08 +0000
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,