PistonDevelopers/sdl2_game_window — pull request #25 by bfops (2014-08-08 23:26:23+00:00)
Title: fix laggy event bug; expose window struct members

I think the window members need to be exposed so that we can do things like

fn mouse_move(&mut self, w: &mut GameWindowSDL2, args: &MouseMoveArgs) {
mouse::warp_mouse_in_window(
&w.render_window.window,
WINDOW_WIDTH as i32 / 2,
WINDOW_HEIGHT as i32 / 2
);
}