mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-03 16:36:25 +00:00
Add 'const' to pointer parameters
This commit is contained in:

committed by
Sam Lantinga

parent
911e53dece
commit
b5297de56f
@@ -428,7 +428,7 @@ static bool SDLCALL SDL_GamepadEventWatcher(void *userdata, SDL_Event *event)
|
||||
orientation, so when it's changed orientation to be used as a
|
||||
gamepad, change the sensor orientation to match.
|
||||
*/
|
||||
static void AdjustSensorOrientation(SDL_Joystick *joystick, float *src, float *dst)
|
||||
static void AdjustSensorOrientation(const SDL_Joystick *joystick, const float *src, float *dst)
|
||||
{
|
||||
unsigned int i, j;
|
||||
|
||||
|
Reference in New Issue
Block a user