mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-01-31 13:40:48 +00:00
Just to be safe. Changed Sys_Yield()
This commit is contained in:
parent
05248cce6d
commit
be7d912cf2
1 changed files with 5 additions and 1 deletions
|
@ -273,7 +273,11 @@ Sys_Yield
|
||||||
*/
|
*/
|
||||||
void Sys_Yield()
|
void Sys_Yield()
|
||||||
{
|
{
|
||||||
sched_yield(); // pthread_yield();
|
#if defined(__ANDROID__) || defined(__APPLE__)
|
||||||
|
sched_yield();
|
||||||
|
#else
|
||||||
|
pthread_yield();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue