diff options
author | yinsimei | 2017-07-11 00:07:40 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-13 18:27:45 +0200 |
commit | 9d349e794e272b6e7d8fe1655b7cc3bfa2253efb (patch) | |
tree | 1415a7a598c5ea76a870c880671523610ac17fac /engines/sludge/bg_effects.cpp | |
parent | 38262ad6301953b373e3ef4341c2d1050bcd6981 (diff) | |
download | scummvm-rg350-9d349e794e272b6e7d8fe1655b7cc3bfa2253efb.tar.gz scummvm-rg350-9d349e794e272b6e7d8fe1655b7cc3bfa2253efb.tar.bz2 scummvm-rg350-9d349e794e272b6e7d8fe1655b7cc3bfa2253efb.zip |
SLUDGE: code formatting for **
Diffstat (limited to 'engines/sludge/bg_effects.cpp')
-rw-r--r-- | engines/sludge/bg_effects.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sludge/bg_effects.cpp b/engines/sludge/bg_effects.cpp index 916c8e3248..40f60e3b1d 100644 --- a/engines/sludge/bg_effects.cpp +++ b/engines/sludge/bg_effects.cpp @@ -32,7 +32,7 @@ namespace Sludge { #if 0 -//extern uint16 * * backDropImage; +//extern uint16 **backDropImage; extern GLuint backdropTextureName; #endif @@ -333,9 +333,9 @@ bool blurScreen() { byte *pixel = &sourceLine[miniY][x * 4]; for (int miniX = 0; miniX < s_matrixEffectWidth; ++miniX) { - totalRed += pixel[0] * *matrixElement; - totalGreen += pixel[1] * *matrixElement; - totalBlue += pixel[2] * *matrixElement; + totalRed += pixel[0] **matrixElement; + totalGreen += pixel[1] **matrixElement; + totalBlue += pixel[2] **matrixElement; ++matrixElement; pixel += 4; } |