diff options
author | Jesse Hall <jessehall@google.com> | 2012-07-17 15:51:53 -0700 |
---|---|---|
committer | Jesse Hall <jessehall@google.com> | 2012-07-22 00:35:08 -0700 |
commit | 74b55003f76dbca96e4a26d98fe464081ca5341f (patch) | |
tree | 510572781982f652f95f9f28669928f3a3a6657f /distrib/sdl-1.2.15/src/main/qtopia/SDL_qtopia_main.cc | |
parent | 3dcbebfd43e409c3bbff7fc79288e40666a947fd (diff) | |
download | external_qemu-74b55003f76dbca96e4a26d98fe464081ca5341f.zip external_qemu-74b55003f76dbca96e4a26d98fe464081ca5341f.tar.gz external_qemu-74b55003f76dbca96e4a26d98fe464081ca5341f.tar.bz2 |
Handle SDL windows with BGRA color
The switch to CoreGraphics on OSX (instead of QuickDraw) in SDL 1.2.15
means the SDL-created window now has BGRA color order instead of ARGB.
This change makes the r5g6b5 and xbgr32 format converters handle
whatever channel ordering the main SDL surface has. Skin regions don't
need to change, since we draw them into auxiliary surfaces we created
with ARGB order, and SDL does the conversion when we blit them into
the main window.
Change-Id: I2ae0529c66c11b60b3ade7a7a742368a2ab614bd
Diffstat (limited to 'distrib/sdl-1.2.15/src/main/qtopia/SDL_qtopia_main.cc')
0 files changed, 0 insertions, 0 deletions