aboutsummaryrefslogtreecommitdiff
path: root/system/include/SDL/SDL_input.h
diff options
context:
space:
mode:
authorJez Ng <me@jezng.com>2013-06-17 18:00:44 -0700
committerJez Ng <me@jezng.com>2013-06-17 18:30:43 -0700
commit83d1e40dc67587c0eee1a5103ee51cfc435aa91d (patch)
tree2cdef0c4a216a38526dd58f9d472404cdcdc27f4 /system/include/SDL/SDL_input.h
parent31f73d04a0f1120746e40b7a35b5d609dbc598ab (diff)
Fix SDL color encoding.
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.
Diffstat (limited to 'system/include/SDL/SDL_input.h')
0 files changed, 0 insertions, 0 deletions