SDL_thread.h: use SDL_ThreadFunction for SDL_CreateThreadWithStackSize

This commit is contained in:
Ozkan Sezer 2022-05-19 18:55:02 +03:00
parent 15781a6986
commit efa2e6a1ea
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data,
pfnSDL_CurrentEndThread pfnEndThread);
extern DECLSPEC SDL_Thread *SDLCALL
SDL_CreateThreadWithStackSize(int (SDLCALL * fn) (void *),
SDL_CreateThreadWithStackSize(SDL_ThreadFunction fn,
const char *name, const size_t stacksize, void *data,
pfnSDL_CurrentBeginThread pfnBeginThread,
pfnSDL_CurrentEndThread pfnEndThread);