From 57eb9654b79e088a3cac406fad9b3fedccf30f29 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 1 Oct 2003 17:06:36 +0000 Subject: make MSVC7 happy svn-id: r10524 --- common/scaler/intern.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/scaler') 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 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; -- cgit v1.2.3