include/SDL_mouse.h
changeset 9807 57b448735f48
parent 9619 b94b6d0bff0f
child 9998 f67cf37e9cd4
     1.1 --- a/include/SDL_mouse.h	Thu Jul 16 21:48:35 2015 +0200
     1.2 +++ b/include/SDL_mouse.h	Fri Jul 17 21:03:58 2015 -0400
     1.3 @@ -137,10 +137,11 @@
     1.4   *
     1.5   *  \param x The x coordinate
     1.6   *  \param y The y coordinate
     1.7 + *  \return 0 on success, -1 on error (usually: unsupported by a platform).
     1.8   *
     1.9   *  \note This function generates a mouse motion event
    1.10   */
    1.11 -extern DECLSPEC void SDLCALL SDL_WarpMouseGlobal(int x, int y);
    1.12 +extern DECLSPEC int SDLCALL SDL_WarpMouseGlobal(int x, int y);
    1.13  
    1.14  /**
    1.15   *  \brief Set relative mouse mode.