mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Fixed example in header file.
Did not compile because of typo in function name and missing argument.
This commit is contained in:
parent
c363bffa59
commit
0b98d0cb8a
@ -233,9 +233,9 @@ extern DECLSPEC void SDLCALL SDL_DetachThread(SDL_Thread * thread);
|
|||||||
* if (!thread_local_storage) {
|
* if (!thread_local_storage) {
|
||||||
* thread_local_storage = SDL_TLSCreate();
|
* thread_local_storage = SDL_TLSCreate();
|
||||||
* }
|
* }
|
||||||
* SDL_AtomicUnLock(&tls_lock);
|
* SDL_AtomicUnlock(&tls_lock);
|
||||||
* }
|
* }
|
||||||
* SDL_TLSSet(thread_local_storage, value);
|
* SDL_TLSSet(thread_local_storage, value, 0);
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* void *GetMyThreadData(void)
|
* void *GetMyThreadData(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user