diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-05-17 20:02:33 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-05-17 20:02:33 -0700 |
commit | 1bfe75b09760d626eb903c93f67367d456745e42 (patch) | |
tree | b30a0a90fda3217f0d7fd8d68f037915bbaf60cf /src/library_sdl.js | |
parent | a5d0e839eed60318bdd119e3dcdf8ce94d6d6ec4 (diff) |
sdl and gl stuff
Diffstat (limited to 'src/library_sdl.js')
-rw-r--r-- | src/library_sdl.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js index 0b4d736d..9d16ad59 100644 --- a/src/library_sdl.js +++ b/src/library_sdl.js @@ -135,7 +135,7 @@ mergeInto(Library, { }, SDL_Delay: function(delay) { - // No can do... unless you were a generator... + throw 'SDL_Delay called - potential infinite loop'; }, SDL_WM_SetCaption: function(title, icon) { @@ -183,6 +183,8 @@ mergeInto(Library, { SDL.surfaces[surf].alpha = alpha; }, + SDL_GL_SwapBuffers: function() {}, + // SDL_Image IMG_Load: function(filename) { |