Fixed build

This commit is contained in:
Sam Lantinga 2023-07-10 19:41:45 -07:00
parent e425fdd416
commit 5b9f2d0942

View File

@ -559,7 +559,7 @@ static void DrawGamepadWaiting(SDL_Renderer *renderer)
SDLTest_DrawString(renderer, x, y, text);
}
static void DrawGamepadInfo(SDL_Renderer *renderer, SDL_Gamepad *gamepad)
static void DrawGamepadInfo(SDL_Renderer *renderer)
{
const char *name;
const char *serial;
@ -743,7 +743,7 @@ static void loop(void *arg)
RenderGamepadDisplay(gamepad_elements, gamepad);
RenderJoystickDisplay(joystick_elements, SDL_GetGamepadJoystick(gamepad));
DrawGamepadInfo(screen, gamepad);
DrawGamepadInfo(screen);
/* Update LED based on left thumbstick position */
{