diff options
author | Strangerke | 2012-06-15 08:23:06 +0200 |
---|---|---|
committer | Strangerke | 2012-06-15 08:23:06 +0200 |
commit | 7c605c5f69e350e87801912babdf5b3cd65024d3 (patch) | |
tree | efdc1cd6c60e259302c8e780f09233939388f19e /engines/tony/gfxcore.cpp | |
parent | 7951881d46aedb230870d843a3f7278368556657 (diff) | |
download | scummvm-rg350-7c605c5f69e350e87801912babdf5b3cd65024d3.tar.gz scummvm-rg350-7c605c5f69e350e87801912babdf5b3cd65024d3.tar.bz2 scummvm-rg350-7c605c5f69e350e87801912babdf5b3cd65024d3.zip |
TONY: Silent more CppCheck warnings, remove an unused global
Diffstat (limited to 'engines/tony/gfxcore.cpp')
-rw-r--r-- | engines/tony/gfxcore.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/tony/gfxcore.cpp b/engines/tony/gfxcore.cpp index 37fc947912..2f38f5d05d 100644 --- a/engines/tony/gfxcore.cpp +++ b/engines/tony/gfxcore.cpp @@ -548,6 +548,7 @@ void RMGfxSourceBuffer8::draw(CORO_PARAM, RMGfxTargetBuffer &bigBuf, RMGfxPrimit RMGfxSourceBuffer8::RMGfxSourceBuffer8(int dimx, int dimy, bool bUseDDraw) : RMGfxBuffer(dimx, dimy, 8, bUseDDraw) { setPriority(0); + _bTrasp0 = false; } RMGfxSourceBuffer8::RMGfxSourceBuffer8(bool bTrasp0) { @@ -672,6 +673,8 @@ RMGfxSourceBuffer8RLE::RMGfxSourceBuffer8RLE() { _alphaBlendColor = -1; _bNeedRLECompress = true; _buf = NULL; + + _alphaR = _alphaG = _alphaB = 0; } RMGfxSourceBuffer8RLE::~RMGfxSourceBuffer8RLE() { @@ -1879,6 +1882,7 @@ void RMGfxSourceBuffer16::prepareImage(void) { RMGfxSourceBuffer16::RMGfxSourceBuffer16(int dimx, int dimy, bool bUseDDraw) : RMGfxBuffer(dimx, dimy, 16, bUseDDraw) { setPriority(0); + _bTrasp0 = false; } |