use cgmath::conv::array4x4;
use cgmath::{Euler, Matrix4, Rad, SquareMatrix, Vector3, Vector4, Zero};
use glium::glutin::event::{ self, Event, VirtualKeyCode, WindowEvent };
use cgmath::conv::array4x4;
use cgmath::{Euler, Matrix4, Rad, SquareMatrix, Vector3, Vector4, Zero};
use glium::glutin::event::{ self, Event, VirtualKeyCode, WindowEvent };
use glium::{Display, Program, Surface, uniform};
use glium::{Display, Program, Surface, uniform};
#[cfg(target_os = "emscripten")]
use std::os::raw::{c_int, c_void};
#[cfg(target_os = "emscripten")]
use std::os::raw::{c_int, c_void};
emscripten_GetProcAddress(addr.into_raw() as *const _) as *const _
});
gl.glGetInternalformativ(0, 0, 0, 0, 0);
emscripten_GetProcAddress(addr.into_raw() as *const _) as *const _
});
gl.glGetInternalformativ(0, 0, 0, 0, 0);
Event::NewEvents(cause) => {
match cause {
event::StartCause::ResumeTimeReached { .. } | event::StartCause::Init => {
Event::NewEvents(cause) => {
match cause {
event::StartCause::ResumeTimeReached { .. } | event::StartCause::Init => {
- 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))