mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-27 05:43:29 +08:00
Fixed build
This commit is contained in:
parent
e425fdd416
commit
5b9f2d0942
@ -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 */
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user