mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
Added the timerID to the SDL timer callback
Fixes https://github.com/libsdl-org/SDL/issues/2593
This commit is contained in:
@@ -100,7 +100,7 @@ Run(void *data)
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
static Uint32 hit_timeout(Uint32 interval, void *param) {
|
||||
static Uint32 hit_timeout(void *param, SDL_TimerID timerID, Uint32 interval) {
|
||||
SDL_Log("Hit timeout! Sending SIGINT!");
|
||||
(void)raise(SIGINT);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user