Commit 9d3d6437424992ce5400596aaf7b26b08a1b574d

Ryan C. Gordon 2015-07-18T00:03:34

Patched to compile on Raspberry Pi.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/raspberry/SDL_rpimouse.c b/src/video/raspberry/SDL_rpimouse.c
index 838196e..f8ee4ec 100644
--- a/src/video/raspberry/SDL_rpimouse.c
+++ b/src/video/raspberry/SDL_rpimouse.c
@@ -48,7 +48,7 @@ static int RPI_ShowCursor(SDL_Cursor * cursor);
 static void RPI_MoveCursor(SDL_Cursor * cursor);
 static void RPI_FreeCursor(SDL_Cursor * cursor);
 static void RPI_WarpMouse(SDL_Window * window, int x, int y);
-static void RPI_WarpMouseGlobal(int x, int y);
+static int RPI_WarpMouseGlobal(int x, int y);
 
 static SDL_Cursor *
 RPI_CreateDefaultCursor(void)