Don't call pthread_exit(), returning from RunThread() is equivalent.
This commit is contained in:
parent
596099f2c0
commit
081fbdf242
1 changed files with 1 additions and 2 deletions
|
@ -43,8 +43,7 @@ static void *
|
|||
RunThread(void *data)
|
||||
{
|
||||
SDL_RunThread(data);
|
||||
pthread_exit((void *) 0);
|
||||
return ((void *) 0); /* Prevent compiler warning */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue