diff options
author | DopefishJustin <dopefishjustin@gmail.com> | 2013-11-16 22:39:40 +0000 |
---|---|---|
committer | DopefishJustin <dopefishjustin@gmail.com> | 2013-11-16 22:39:40 +0000 |
commit | 89c96cd9ae39196157fe78b5f2097a371f764460 (patch) | |
tree | a9958379350efbca95d9d600404c205d9313b313 | |
parent | b8ac3d2a175799678691bd123d7e1cb1d42b46f8 (diff) |
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' }, |