From eed8bf6110afeca9c12036aa9fab569fd875cf27 Mon Sep 17 00:00:00 2001 From: Vladimir Matveev Date: Sun, 18 May 2014 15:53:54 +0400 Subject: [PATCH] Added TODO note in mouse handling code --- src/sdl2/mouse.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sdl2/mouse.rs b/src/sdl2/mouse.rs index b5c56f6f..7753e1e6 100644 --- a/src/sdl2/mouse.rs +++ b/src/sdl2/mouse.rs @@ -102,6 +102,7 @@ impl Cursor { } } + // TODO: figure out how to pass Surface in here correctly pub fn from_surface(surface: &surface::Surface, hot_x: int, hot_y: int) -> Result { unsafe { let raw = ll::SDL_CreateColorCursor(surface.raw, hot_x as i32,