diff options
author | Eugene Sandulenko | 2016-05-09 14:24:32 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-09 14:24:32 +0200 |
commit | 69120f4e72ea7e7a05bf02d4addf0dcfaaa5aabc (patch) | |
tree | 07062a00d8aff762030f922eb928e2518ca8772b | |
parent | 4d4a5837bfd22fc446c249dbaf56ee74e8575118 (diff) | |
download | scummvm-rg350-69120f4e72ea7e7a05bf02d4addf0dcfaaa5aabc.tar.gz scummvm-rg350-69120f4e72ea7e7a05bf02d4addf0dcfaaa5aabc.tar.bz2 scummvm-rg350-69120f4e72ea7e7a05bf02d4addf0dcfaaa5aabc.zip |
TONY: Removing more redundant checks
-rw-r--r-- | engines/tony/gfxcore.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/engines/tony/gfxcore.cpp b/engines/tony/gfxcore.cpp index 076f1ee91c..27145d7c4b 100644 --- a/engines/tony/gfxcore.cpp +++ b/engines/tony/gfxcore.cpp @@ -1767,13 +1767,6 @@ void RMGfxSourceBuffer8AA::drawAA(RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *pri g /= 6; b /= 6; - if (r > 0x1f) - r = 0x1f; - if (g > 0x3f) - g = 0x3f; - if (b > 0x1f) - b = 0x1f; - mybuf[0] = (r << 11) | (g << 5) | b; } } |