diff options
-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) { |