Enable osx cursor support

Dependent on https://github.com/tomaka/glutin/pull/300
This commit is contained in:
Bryan Bell 2015-02-27 02:05:45 -08:00
parent 8ad3c5aeb6
commit a3fac7c0fe

View file

@ -468,16 +468,7 @@ impl WindowMethods for Window {
fn load_end(&self) {
}
// TODO: Enable on macos when supported by glutin.
#[cfg(target_os="macos")]
fn set_cursor(&self, _: Cursor) {
}
#[cfg(target_os="android")]
fn set_cursor(&self, _: Cursor) {
}
#[cfg(target_os="linux")]
/// Has no effect on Android.
fn set_cursor(&self, c: Cursor) {
use glutin::MouseCursor;