compile on stable

This commit is contained in:
Michael Zhang 2018-09-30 10:09:57 -05:00
parent 3ea34f72e9
commit 5f6b7b40a5
No known key found for this signature in database
GPG key ID: A1B65B603268116B

View file

@ -87,11 +87,11 @@ impl GUI {
// } // }
use gl; use gl;
use glutin::{ use glutin::{self,
dpi::LogicalSize, ElementState, Event, EventsLoop, GlContext, GlWindow, KeyboardInput, dpi::LogicalSize, ElementState, Event, EventsLoop, GlContext, GlWindow, KeyboardInput,
MouseButton, VirtualKeyCode, WindowBuilder, WindowEvent, MouseButton, VirtualKeyCode, WindowBuilder, WindowEvent,
}; };
use nanovg::{Color, Image, ImagePattern, PathOptions, StrokeOptions}; use nanovg::{self, Color, Image, ImagePattern, PathOptions, StrokeOptions};
use std::{f32::consts, slice}; use std::{f32::consts, slice};
// let attr = window.get_attributes()?; // let attr = window.get_attributes()?;