kripken/emscripten — pull request #508 by nandhp (2012-07-11 15:41:33+00:00)
Title: Fix SDL_MapRGB and implement SDL_MapRGBA. 

I have fixed SDL_MapRGB (and implemented SDL_MapRGBA) per [issue 507](https://github.com/kripken/emscripten/issues/507).

I have also included a test case; it passes in Chrome and Opera, but not in Firefox. I'm not sure why this is, since the outputs seem to be identical (same colors, same size/position of rectangles).

Fixes #507