Mercurial > sdl-ios-xcode
comparison src/video/SDL_blit_A.c @ 3430:baeff5f3203b
Updated for the new pixel format structure
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 11 Nov 2009 06:34:33 +0000 |
parents | 90aec03bf9fd |
children | f7b03b6838cb |
comparison
equal
deleted
inserted
replaced
3429:48caa67fac25 | 3430:baeff5f3203b |
---|---|
500 /* ARGB */ | 500 /* ARGB */ |
501 const static struct SDL_PixelFormat default_pixel_format = { | 501 const static struct SDL_PixelFormat default_pixel_format = { |
502 NULL, 0, 0, | 502 NULL, 0, 0, |
503 0, 0, 0, 0, | 503 0, 0, 0, 0, |
504 16, 8, 0, 24, | 504 16, 8, 0, 24, |
505 0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000, | 505 0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000 |
506 0, 0 | |
507 }; | 506 }; |
508 if (!srcfmt) { | 507 if (!srcfmt) { |
509 srcfmt = &default_pixel_format; | 508 srcfmt = &default_pixel_format; |
510 } | 509 } |
511 if (!dstfmt) { | 510 if (!dstfmt) { |