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)
|
RunThread(void *data)
|
||||||
{
|
{
|
||||||
SDL_RunThread(data);
|
SDL_RunThread(data);
|
||||||
pthread_exit((void *) 0);
|
return NULL;
|
||||||
return ((void *) 0); /* Prevent compiler warning */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue