aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-16 16:22:32 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-16 16:22:32 -0700
commit99011daea04c190c1efbdff1ffab4b2eae71324d (patch)
treec0467294dc2040d0d686be791637e4fea3940278
parentf665c7f0b163495b49d2ba7512b5ff10334aa4c0 (diff)
parentfc53fc8994d62fa725220d2cff9ef460477929bf (diff)
Merge pull request #1284 from juj/SDL_WM_SetIcon
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; },