mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-16 19:35:41 +00:00
SDL_GetNumTouchFingers(): 0 is a valid value. negative is automatically an error
This commit is contained in:
@@ -115,7 +115,7 @@ extern DECLSPEC SDL_TouchDeviceType SDLCALL SDL_GetTouchDeviceType(SDL_TouchID t
|
|||||||
*
|
*
|
||||||
* \param touchID the ID of a touch device
|
* \param touchID the ID of a touch device
|
||||||
* \returns the number of active fingers for a given touch device on success
|
* \returns the number of active fingers for a given touch device on success
|
||||||
* or 0 on failure; call SDL_GetError() for more information.
|
* or a negative error code on failure; call SDL_GetError() for more information.
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 3.0.0.
|
* \since This function is available since SDL 3.0.0.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user