[dependencies]
cgmath = "*"
#gleam = "*"
-glium = "0.27"
-glutin = "0.24"
+glium = "0.28"
+glutin = "0.25"
+winit = { version = "0.23", features = ["stdweb"] }
image = { version = "*", features = ["png_codec"], optional = true }
instant = "*"
libxm = "1.0.0"
rust-rocket = { path = "rust-rocket", optional = true }
rand = "*"
sdl2 = "*"
-winit = { version = "*", features = ["stdweb"] }
[features]
default = ["image", "logging"]
#"glutin:0.7.4" = { path = "/home/bernie/src/glutin" }
#"glium:0.16.0" = { path = "/home/bernie/src/glium" }
-[target.armv7-linux-androideabi]
-ar = "$ANDROID_NDK_HOME/arm/bin/arm-linux-androideabi-ar"
-linker = "$ANDROID_NDK_HOME/arm/bin/arm-linux-androideabi-clang"
+#[target.armv7-linux-androideabi]
+#ar = "$ANDROID_NDK_HOME/arm/bin/arm-linux-androideabi-ar"
+#linker = "$ANDROID_NDK_HOME/arm/bin/arm-linux-androideabi-clang"
[lib]
name = "mandelwow_lib"
emscripten_GetProcAddress(addr.into_raw() as *const _) as *const _
});
gl.glGetInternalformativ(0, 0, 0, 0, 0);
-*/
+ */
let mut soundplayer = sound::start();
let mut timer = Timer::new();
let mut camera = support::camera::CameraState::new();
- let mut fullscreen = true;
+ let mut fullscreen = false;
event_loop.run(move |event, _, control_flow| {
let t = timer.t;
VirtualKeyCode::F11 | VirtualKeyCode::Return => {
fullscreen ^= true;
let fs = if fullscreen {
- let monitor_handle = display.gl_window().window()
- .available_monitors().next().unwrap();
- Some(glium::glutin::window::Fullscreen::Borderless(monitor_handle))
+ // let monitor_handle = display.gl_window().window()
+ // .available_monitors().next().unwrap();
+ Some(glium::glutin::window::Fullscreen::Borderless(None))
} else {
None
};