aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/window/mod.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2014-10-10 17:58:31 +0200
committertomaka <pierre.krieger1708@gmail.com>2014-10-10 17:58:31 +0200
commit28ecf3bc5b463e7e1b1859746f178c2990dfb263 (patch)
tree10840e82b6bfd4ea7da3eb8b93dfd367930f996f /src/x11/window/mod.rs
parentb66abed7aeb3685552a2cb6caa34e8c4eb6dbb12 (diff)
parentc316c86e7c5996e0b0965682f4260d20191e5b6d (diff)
downloadglutin-28ecf3bc5b463e7e1b1859746f178c2990dfb263.tar.gz
glutin-28ecf3bc5b463e7e1b1859746f178c2990dfb263.zip
Merge pull request #49 from tomaka/update-rustc
Update for rustc f9fc49c06 2014-10-10 00:07:08 +0000
Diffstat (limited to 'src/x11/window/mod.rs')
-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,