diff options
author | Johannes Schickel | 2009-05-24 15:17:42 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-24 15:17:42 +0000 |
commit | b3c6751b9b7fc1401fd5e87a034cdaec92b67b20 (patch) | |
tree | aa00dba58fb88ea2e095b886963370c7290c692b /graphics | |
parent | 7c1eb057146af11793c627327f3fefe309d27fbb (diff) | |
download | scummvm-rg350-b3c6751b9b7fc1401fd5e87a034cdaec92b67b20.tar.gz scummvm-rg350-b3c6751b9b7fc1401fd5e87a034cdaec92b67b20.tar.bz2 scummvm-rg350-b3c6751b9b7fc1401fd5e87a034cdaec92b67b20.zip |
Strip trailing whitespaces in the whole code base.
svn-id: r40867
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/VectorRendererSpec.cpp | 2 | ||||
-rw-r--r-- | graphics/scaler.cpp | 4 | ||||
-rw-r--r-- | graphics/video/dxa_decoder.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp index b48dec4a8c..49dc2c0ef0 100644 --- a/graphics/VectorRendererSpec.cpp +++ b/graphics/VectorRendererSpec.cpp @@ -399,7 +399,7 @@ inline void VectorRendererSpec<PixelType>:: blendPixelPtr(PixelType *ptr, PixelType color, uint8 alpha) { register int idst = *ptr; register int isrc = color; - + *ptr = (PixelType)( (_redMask & ((idst & _redMask) + ((int)(((int)(isrc & _redMask) - 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 } diff --git a/graphics/video/dxa_decoder.cpp b/graphics/video/dxa_decoder.cpp index e514050942..827ee0846f 100644 --- a/graphics/video/dxa_decoder.cpp +++ b/graphics/video/dxa_decoder.cpp @@ -155,7 +155,7 @@ bool DXADecoder::loadFile(const char *fileName) { } while (tag != 0); } #endif - + // Read the sound header _soundTag = _fileStream->readUint32BE(); |