mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 13:50:05 -04:00
Update for rustc f9fc49c06 2014-10-10 00:07:08 +0000
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user