Update cargo nightly to get android cross compile fix. Also add stub trait method to glutin port.

This commit is contained in:
Glenn Watson 2014-12-19 09:31:02 +10:00
parent 803e5ef790
commit f579be2307
2 changed files with 8 additions and 1 deletions

View file

@ -1 +1 @@
2014-12-02
2014-12-18

View file

@ -32,6 +32,7 @@ use gleam::gl;
use glutin;
use glutin::{ElementState, Event, MouseButton, VirtualKeyCode};
use NestedEventLoopListener;
use util::cursor::Cursor;
#[cfg(target_os="linux")]
use std::ptr;
@ -223,6 +224,12 @@ impl WindowMethods for Window {
// TODO(gw)
}
fn set_cursor(&self, _: Cursor) {
// No-op. We could take over mouse handling ourselves and draw the cursor as an extra
// layer with our own custom bitmaps or something, but it doesn't seem worth the
// trouble.
}
fn prepare_for_composite(&self) -> bool {
true
}