------------------------------------------------------------------------------------------------------ Description: Helper function to convert RGBA color to BGRA. Attributes: color - color in RGBA format Return value: color in ARGB ------------------------------------------------------------------------------------------------------
| 160 | // color in ARGB |
| 161 | // ------------------------------------------------------------------------------------------------------ |
| 162 | inline unsigned SwizzleColor( unsigned color ) |
| 163 | { |
| 164 | return ( ( color & 0xff0000 ) >> 16 ) | ( color & 0xff00ff00 ) | ( ( color & 0xff ) << 16 ); |
| 165 | } |
| 166 | |
| 167 | // ------------------------------------------------------------------------------------------------------ |
| 168 | // Description: |
no outgoing calls
no test coverage detected