Pārlūkot izejas kodu

Fixed documentation warning

Sam Lantinga 2 gadi atpakaļ
vecāks
revīzija
8c3239dee5
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      include/SDL3/SDL_gamepad.h
  2. 1 1
      include/SDL3/SDL_joystick.h

+ 1 - 1
include/SDL3/SDL_gamepad.h

@@ -655,7 +655,7 @@ extern DECLSPEC SDL_Joystick *SDLCALL SDL_GetGamepadJoystick(SDL_Gamepad *gamepa
  * yourself and check the state of the gamepad when you want gamepad
  * information.
  *
- * \param state whether to process gamepad events or not
+ * \param enabled whether to process gamepad events or not
  *
  * \since This function is available since SDL 3.0.0.
  *

+ 1 - 1
include/SDL3/SDL_joystick.h

@@ -726,7 +726,7 @@ extern DECLSPEC int SDLCALL SDL_GetNumJoystickButtons(SDL_Joystick *joystick);
  * yourself and check the state of the joystick when you want joystick
  * information.
  *
- * \param state whether to process joystick events or not
+ * \param enabled whether to process joystick events or not
  *
  * \since This function is available since SDL 3.0.0.
  *