Commit 143563c8 authored by Sam Lantinga's avatar Sam Lantinga

Updated for the new pixel format structure

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404167
parent 70f4c52c
...@@ -502,8 +502,7 @@ calc_swizzle32(const SDL_PixelFormat * srcfmt, const SDL_PixelFormat * dstfmt) ...@@ -502,8 +502,7 @@ calc_swizzle32(const SDL_PixelFormat * srcfmt, const SDL_PixelFormat * dstfmt)
NULL, 0, 0, NULL, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
16, 8, 0, 24, 16, 8, 0, 24,
0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000, 0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000
0, 0
}; };
if (!srcfmt) { if (!srcfmt) {
srcfmt = &default_pixel_format; srcfmt = &default_pixel_format;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment