aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ports/glutin/window.rs11
1 files changed, 1 insertions, 10 deletions
diff --git a/ports/glutin/window.rs b/ports/glutin/window.rs
index 2256d34b998..ccfbd0a8bdd 100644
--- a/ports/glutin/window.rs
+++ b/ports/glutin/window.rs
@@ -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;