aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/scaler/intern.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/scaler/intern.h b/common/scaler/intern.h
index 69af4a2230..daf76a0d11 100644
--- a/common/scaler/intern.h
+++ b/common/scaler/intern.h
@@ -39,6 +39,7 @@ template<int bitFormat>
struct ColorMasks {
};
+template<>
struct ColorMasks<565> {
static const int highBits = 0xF7DEF7DE;
static const int lowBits = 0x08210821;
@@ -48,6 +49,7 @@ struct ColorMasks<565> {
static const int greenMask = 0x07E0;
};
+template<>
struct ColorMasks<555> {
static const int highBits = 0x04210421;
static const int lowBits = 0x04210421;