mirror of
https://github.com/mpv-player/mpv
synced 2025-02-27 10:50:53 +00:00
sdl_gamepad: fix typo in function name
As pointed out by LaserEyess on IRC.
This commit is contained in:
parent
49cde32be0
commit
8b0ff53b69
@ -29,7 +29,7 @@ struct gamepad_priv {
|
|||||||
|
|
||||||
static Uint32 gamepad_cancel_wakeup;
|
static Uint32 gamepad_cancel_wakeup;
|
||||||
|
|
||||||
static void initalize_events(void)
|
static void initialize_events(void)
|
||||||
{
|
{
|
||||||
gamepad_cancel_wakeup = SDL_RegisterEvents(1);
|
gamepad_cancel_wakeup = SDL_RegisterEvents(1);
|
||||||
}
|
}
|
||||||
@ -204,7 +204,7 @@ static void read_gamepad_thread(struct mp_input_src *src, void *param)
|
|||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
pthread_once(&events_initialized, initalize_events);
|
pthread_once(&events_initialized, initialize_events);
|
||||||
|
|
||||||
if (gamepad_cancel_wakeup == (Uint32)-1) {
|
if (gamepad_cancel_wakeup == (Uint32)-1) {
|
||||||
MP_ERR(src, "Can't register SDL custom events\n");
|
MP_ERR(src, "Can't register SDL custom events\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user