aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoost Peters2009-02-10 23:38:07 +0000
committerJoost Peters2009-02-10 23:38:07 +0000
commitd23474fcf9ad84e9556a9a3660b78520a2e81ddd (patch)
tree63d4c3282941913687a3b0c4d09fcb6162006c78
parent0ff8d326756b99dc9e7731f4aa41c75fe0433439 (diff)
downloadscummvm-rg350-d23474fcf9ad84e9556a9a3660b78520a2e81ddd.tar.gz
scummvm-rg350-d23474fcf9ad84e9556a9a3660b78520a2e81ddd.tar.bz2
scummvm-rg350-d23474fcf9ad84e9556a9a3660b78520a2e81ddd.zip
1555 is ABGR (not ARGB)
svn-id: r36257
-rw-r--r--graphics/colormasks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/colormasks.h b/graphics/colormasks.h
index 0cd8e86050..c7763add11 100644
--- a/graphics/colormasks.h
+++ b/graphics/colormasks.h
@@ -146,9 +146,9 @@ struct ColorMasks<1555> {
kBlueBits = 5,
kAlphaShift = kRedBits+kGreenBits+kBlueBits,
- kRedShift = kGreenBits+kBlueBits,
+ kRedShift = 0,
kGreenShift = kBlueBits,
- kBlueShift = 0,
+ kBlueShift = kGreenBits+kBlueBits,
kAlphaMask = ((1 << kAlphaBits) - 1) << kAlphaShift,
kRedMask = ((1 << kRedBits) - 1) << kRedShift,