mirror of https://github.com/encounter/SDL.git
Rename Linux-only variable.
This commit is contained in:
parent
b820a81ffb
commit
c7d1dab1fe
|
@ -247,8 +247,8 @@ SDL_SYS_SetThreadPriority(SDL_ThreadPriority priority)
|
|||
}
|
||||
|
||||
#if __LINUX__
|
||||
pid_t thread = syscall(SYS_gettid);
|
||||
return SDL_LinuxSetThreadPriorityAndPolicy(thread, priority, policy);
|
||||
pid_t linuxTid = syscall(SYS_gettid);
|
||||
return SDL_LinuxSetThreadPriorityAndPolicy(linuxTid, priority, policy);
|
||||
#else
|
||||
if (priority == SDL_THREAD_PRIORITY_LOW) {
|
||||
sched.sched_priority = sched_get_priority_min(policy);
|
||||
|
|
Loading…
Reference in New Issue