diff options
Diffstat (limited to 'include/core/SkColorPriv.h')
-rw-r--r-- | include/core/SkColorPriv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkColorPriv.h b/include/core/SkColorPriv.h index ba1230adb3..9591f22725 100644 --- a/include/core/SkColorPriv.h +++ b/include/core/SkColorPriv.h @@ -102,7 +102,7 @@ // no need to pass in the colortype to this function. static inline uint32_t SkSwizzle_RB(uint32_t c) { static const uint32_t kRBMask = (0xFF << SK_R32_SHIFT) | (0xFF << SK_B32_SHIFT); - + unsigned c0 = (c >> SK_R32_SHIFT) & 0xFF; unsigned c1 = (c >> SK_B32_SHIFT) & 0xFF; return (c & ~kRBMask) | (c0 << SK_B32_SHIFT) | (c1 << SK_R32_SHIFT); |