From 5f6b7b40a5f1e58733139ac4946846429c2bbf38 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Sun, 30 Sep 2018 10:09:57 -0500 Subject: [PATCH] compile on stable --- src/gui.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui.rs b/src/gui.rs index 9b2619a..fd69e60 100644 --- a/src/gui.rs +++ b/src/gui.rs @@ -87,11 +87,11 @@ impl GUI { // } use gl; - use glutin::{ + use glutin::{self, dpi::LogicalSize, ElementState, Event, EventsLoop, GlContext, GlWindow, KeyboardInput, MouseButton, VirtualKeyCode, WindowBuilder, WindowEvent, }; - use nanovg::{Color, Image, ImagePattern, PathOptions, StrokeOptions}; + use nanovg::{self, Color, Image, ImagePattern, PathOptions, StrokeOptions}; use std::{f32::consts, slice}; // let attr = window.get_attributes()?;