src/events/SDL_mouse.c
changeset 7104 4e4ca313000c
parent 7097 84bbd421d62f
child 7107 2fcf7bf1d2b2
--- a/src/events/SDL_mouse.c	Wed Apr 24 12:22:08 2013 -0300
+++ b/src/events/SDL_mouse.c	Wed Apr 24 10:42:44 2013 -0700
@@ -626,6 +626,17 @@
     return mouse->cur_cursor;
 }
 
+SDL_Cursor *
+SDL_GetDefaultCursor(void)
+{
+    SDL_Mouse *mouse = SDL_GetMouse();
+
+    if (!mouse) {
+        return NULL;
+    }
+    return mouse->def_cursor;
+}
+
 void
 SDL_FreeCursor(SDL_Cursor * cursor)
 {