aboutsummaryrefslogtreecommitdiff
path: root/tests/hello_world_sdl.cpp
AgeCommit message (Collapse)Author
2013-06-17Fix SDL color encoding.Jez Ng
Little-endian + RGBA means that red is located at the lowest-order bits, not the highest. The hello_world_sdl test is now portable, because we no longer write to individual bytes. We also add a test for a completely blank screen, which should be black, not red. Closes #1287, #761, #765.
2012-03-27fix two bugs with rendering pixel data to SDL: flip R and B to match native ↵Alon Zakai
behavior, and ignore alpha when rendering to the screen as also done in native behavior
2012-03-05properly handle html-unfriendly print() outputAlon Zakai
2011-12-17fix SDL_MUSTLOCKAlon Zakai
2011-12-14make SQL_Quit a no-opAlon Zakai
2011-12-12support for generating html in emcc, and a test for that that also tests ↵Alon Zakai
SDL, and some fixes for SDL