diff options
Diffstat (limited to 'graphics/scaler.cpp')
-rw-r--r-- | graphics/scaler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/scaler.cpp b/graphics/scaler.cpp index da84938bc5..11767848ed 100644 --- a/graphics/scaler.cpp +++ b/graphics/scaler.cpp @@ -116,12 +116,12 @@ void InitLUT(Graphics::PixelFormat format) { hqx_low3bits = (7 << format.rShift) | (7 << format.gShift) | (7 << format.bShift), hqx_highbits = format.RGBToColor(255,255,255) ^ hqx_lowbits; - + // FIXME: The following code only does the right thing // if the color order is RGB or BGR, i.e., green is in the middle. hqx_greenMask = format.RGBToColor(0,255,0); hqx_redBlueMask = format.RGBToColor(255,0,255); - + hqx_green_redBlue_Mask = (hqx_greenMask << 16) | hqx_redBlueMask; #endif } |