diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-11-16 17:10:09 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-11-16 17:10:09 -0800 |
commit | 3e436ebea2b8fe20b772edc39eb221782511709a (patch) | |
tree | 436a553d2078b3b26ffcbd454b31de38986e5394 | |
parent | eee850a1379802622318bca48bd81be70d7cbac0 (diff) | |
parent | 89c96cd9ae39196157fe78b5f2097a371f764460 (diff) |
Merge pull request #1818 from DopefishJustin/master
Don't throw an exception on SDL_ThreadID()
-rw-r--r-- | src/library_sdl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js index f780e15a..eb8eea97 100644 --- a/src/library_sdl.js +++ b/src/library_sdl.js @@ -2675,7 +2675,7 @@ var LibrarySDL = { SDL_WaitThread: function() { throw 'SDL_WaitThread' }, SDL_GetThreadID: function() { throw 'SDL_GetThreadID' }, - SDL_ThreadID: function() { throw 'SDL_ThreadID' }, + SDL_ThreadID: function() { return 0; }, SDL_AllocRW: function() { throw 'SDL_AllocRW: TODO' }, SDL_CondBroadcast: function() { throw 'SDL_CondBroadcast: TODO' }, SDL_CondWaitTimeout: function() { throw 'SDL_CondWaitTimeout: TODO' }, |