Mercurial > sdl-ios-xcode
comparison src/video/SDL_alphamult.h @ 3055:cd863dd2082b
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 07 Feb 2009 18:03:46 +0000 |
parents | 8d93bfecb9dc |
children | f7b03b6838cb |
comparison
equal
deleted
inserted
replaced
3054:8d93bfecb9dc | 3055:cd863dd2082b |
---|---|
24 | 24 |
25 #define DEFINE_PREMULTIPLY_FUNC(fmt) \ | 25 #define DEFINE_PREMULTIPLY_FUNC(fmt) \ |
26 void \ | 26 void \ |
27 SDL_PreMultiplyAlpha##fmt(int w, int h, Uint32 *pixels, int pitch); | 27 SDL_PreMultiplyAlpha##fmt(int w, int h, Uint32 *pixels, int pitch); |
28 | 28 |
29 /* *INDENT-OFF* */ | |
29 DEFINE_PREMULTIPLY_FUNC(ARGB8888) | 30 DEFINE_PREMULTIPLY_FUNC(ARGB8888) |
30 DEFINE_PREMULTIPLY_FUNC(RGBA8888) | 31 DEFINE_PREMULTIPLY_FUNC(RGBA8888) |
31 DEFINE_PREMULTIPLY_FUNC(ABGR8888) | 32 DEFINE_PREMULTIPLY_FUNC(ABGR8888) |
32 DEFINE_PREMULTIPLY_FUNC(BGRA8888) | 33 DEFINE_PREMULTIPLY_FUNC(BGRA8888) |
34 /* *INDENT-ON* */ | |
33 | 35 |
34 #undef DEFINE_PREMULTIPLY_FUNC | 36 #undef DEFINE_PREMULTIPLY_FUNC |
35 | 37 |
36 /* vi: set ts=4 sw=4 expandtab: */ | 38 /* vi: set ts=4 sw=4 expandtab: */ |