aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-06-13 16:54:07 +0300
committerJukka Jylänki <jujjyl@gmail.com>2013-06-13 16:54:07 +0300
commitfc53fc8994d62fa725220d2cff9ef460477929bf (patch)
treec2692b4fccb9998182787830be920164b22359a8
parent886e3158cf5d95a2c2721e5eb9a1c3ac4461f805 (diff)
Add no-op SDL_WM_SetIcon.
-rw-r--r--src/library_sdl.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js
index a131f424..8ec2d887 100644
--- a/src/library_sdl.js
+++ b/src/library_sdl.js
@@ -1840,6 +1840,7 @@ var LibrarySDL = {
SDL_CreateRGBSurfaceFrom: function() { throw 'SDL_CreateRGBSurfaceFrom: TODO' },
SDL_SaveBMP_RW: function() { throw 'SDL_SaveBMP_RW: TODO' },
+ SDL_WM_SetIcon: function() { /* This function would set the application window icon surface, which doesn't apply for web canvases, so a no-op. */ },
SDL_HasRDTSC: function() { return 0; },
SDL_HasMMX: function() { return 0; },
SDL_HasMMXExt: function() { return 0; },