kripken/emscripten — pull request #1304 by int3 (2013-06-18 02:21:34+00:00)
Title: FIx SDL color encoding

Little-endian + RGBA means that red is located at the lowest-order bits, not the highest. I ran most of the SDL tests which seemed to use the canvas as output and got them to pass.

I also added a new test and made a couple of tweaks to existing tests to increase portability, reduce compile-time warnings, and reduce noisy log messages.