~[] to Vec in glut_windowing

This commit is contained in:
Matt Murphy 2014-04-23 22:01:16 -05:00 committed by Ms2ger
parent 81fd243f37
commit 98a78e3faf

View file

@ -47,7 +47,7 @@ impl Drop for Application {
pub struct Window {
pub glut_window: glut::Window,
pub event_queue: RefCell<~[WindowEvent]>,
pub event_queue: RefCell<Vec<WindowEvent>>,
pub drag_origin: Point2D<c_int>,
@ -70,7 +70,7 @@ impl WindowMethods<Application> for Window {
let window = Window {
glut_window: glut_window,
event_queue: RefCell::new(~[]),
event_queue: RefCell::new(Vec::new()),
drag_origin: Point2D(0 as c_int, 0),