diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-31 20:09:54 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-31 20:09:54 -0700 |
commit | 32b4dda8d4515bd4357320c68907a56f83b08298 (patch) | |
tree | 16dab3627b3ecc116d169f79c28436f67cc52536 | |
parent | f121f7a6e7269468cbc648a07a3631bb85b5e348 (diff) |
SDL stubs
-rw-r--r-- | src/library_sdl.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js index 5ca049fe..acc14fb9 100644 --- a/src/library_sdl.js +++ b/src/library_sdl.js @@ -463,6 +463,9 @@ mergeInto(LibraryManager.library, { return r + (g << 8) + (b << 16); }, + SDL_WM_GrabInput: function() {}, + SDL_ShowCursor: function() {}, + // SDL_Image IMG_Load: function(filename) { @@ -551,5 +554,9 @@ mergeInto(LibraryManager.library, { //SDL_CreateYUVOverlay //SDL_CreateThread, SDL_WaitThread etc + + // SDL Mixer + + Mix_OpenAudio: function() { return -1 }, }); |