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,