make indent
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402345
This commit is contained in:
parent
25541b2329
commit
554147b6c7
18 changed files with 142 additions and 122 deletions
|
@ -551,8 +551,8 @@ SDL_MapRGB(const SDL_PixelFormat * const format, const Uint8 r, const Uint8 g,
|
|||
|
||||
/* Find the pixel value corresponding to an RGBA quadruple */
|
||||
Uint32
|
||||
SDL_MapRGBA(const SDL_PixelFormat * const format, const Uint8 r, const Uint8 g,
|
||||
const Uint8 b, const Uint8 a)
|
||||
SDL_MapRGBA(const SDL_PixelFormat * const format, const Uint8 r,
|
||||
const Uint8 g, const Uint8 b, const Uint8 a)
|
||||
{
|
||||
if (format->palette == NULL) {
|
||||
return (r >> format->Rloss) << format->Rshift
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue