aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-31 20:09:54 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-10-31 20:09:54 -0700
commit32b4dda8d4515bd4357320c68907a56f83b08298 (patch)
tree16dab3627b3ecc116d169f79c28436f67cc52536
parentf121f7a6e7269468cbc648a07a3631bb85b5e348 (diff)
SDL stubs
-rw-r--r--src/library_sdl.js7
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 },
});