kripken/emscripten — pull request #2871 by caiiiycuk (2014-10-08 16:46:55+00:00)
Title: Add SDL_ConvertSurface and fix SDL_SetAlpha

* Implement SDL_ConvertSurface (https://wiki.libsdl.org/SDL_ConvertSurface) works only for default emscripten pixelformat
* Replace SDL_DisplayFormatAlpha implementation with SDL_ConvertSurface
* SDL_SetAlpha (http://www.libsdl.org/release/SDL-1.2.15/docs/html/sdlsetalpha.html) should ignore alpha channel if flag SDL_SRCALPHA is not set