mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-20 21:16:04 +00:00
Rename SDL_SetThreadPriority() to SDL_SetCurrentThreadPriority()
Fixes https://github.com/libsdl-org/SDL/issues/11055
This commit is contained in:
parent
69196ab30d
commit
fe2880fcda
17 changed files with 30 additions and 22 deletions
|
|
@ -62,7 +62,7 @@ static int SDLCALL SDL_ANDROID_SensorThread(void *data)
|
|||
ASensorEvent event;
|
||||
struct android_poll_source *source;
|
||||
|
||||
SDL_SetThreadPriority(SDL_THREAD_PRIORITY_HIGH);
|
||||
SDL_SetCurrentThreadPriority(SDL_THREAD_PRIORITY_HIGH);
|
||||
|
||||
SDL_sensor_looper = ALooper_prepare(ALOOPER_PREPARE_ALLOW_NON_CALLBACKS);
|
||||
SDL_SignalSemaphore(ctx->sem);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue