Skip to content

Commit

Permalink
Call SDL_DetachThread on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
rollerozxa committed Jul 11, 2024
1 parent 8e39f1c commit 939a25d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,7 @@ create_thread(int (SDLCALL *fn)(void*),
const char *name, void *data)
{
SDL_Thread *t = SDL_CreateThread(fn, name, data);
#ifdef TMS_BACKEND_PC
/* SDL_DetachThread was implemented in SDL 2.0.2, which is only available
* for our PC backend as of now. */
SDL_DetachThread(t);
#endif
}

static void
Expand Down

0 comments on commit 939a25d

Please sign in to comment.