Skip to content

Commit

Permalink
Fix documentation references and update method usage for SDL_GetGamep…
Browse files Browse the repository at this point in the history
…adGUIDForID in SDL_gamepad.h

In the documentation for the SDL_GetGamepadGUIDForID method in the SDL_gamepad.h file, there are two references to the methods SDL_GetGamepadGUID and SDL_GetGamepadGUIDString, but there are no methods of its own. I replaced these two methods with the existing SDL_GUIDToString.
  • Loading branch information
edwardgushchin authored and slouken committed Jul 25, 2024
1 parent 2aad26a commit 3ee5935
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/SDL3/SDL_gamepad.h
Original file line number Diff line number Diff line change
Expand Up @@ -564,8 +564,7 @@ extern SDL_DECLSPEC int SDLCALL SDL_GetGamepadPlayerIndexForID(SDL_JoystickID in
*
* \since This function is available since SDL 3.0.0.
*
* \sa SDL_GetGamepadGUID
* \sa SDL_GetGamepadGUIDString
* \sa SDL_GUIDToString
* \sa SDL_GetGamepads
*/
extern SDL_DECLSPEC SDL_GUID SDLCALL SDL_GetGamepadGUIDForID(SDL_JoystickID instance_id);
Expand Down

0 comments on commit 3ee5935

Please sign in to comment.