diff options
author | Max Horn | 2006-09-23 11:29:32 +0000 |
---|---|---|
committer | Max Horn | 2006-09-23 11:29:32 +0000 |
commit | d02e4d7f7c7affb4e6f52c0e5a9a8b5a0ca0c610 (patch) | |
tree | 0752b64d29cf738449839c587e9dcd0b1d2d35c7 /engines/scumm/gfx.cpp | |
parent | 847c145810919e6670a6d67e29b9e53b39502ca8 (diff) | |
download | scummvm-rg350-d02e4d7f7c7affb4e6f52c0e5a9a8b5a0ca0c610.tar.gz scummvm-rg350-d02e4d7f7c7affb4e6f52c0e5a9a8b5a0ca0c610.tar.bz2 scummvm-rg350-d02e4d7f7c7affb4e6f52c0e5a9a8b5a0ca0c610.zip |
Removed CHECK_HEAP
svn-id: r23979
Diffstat (limited to 'engines/scumm/gfx.cpp')
-rw-r--r-- | engines/scumm/gfx.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp index 5a952e73f0..6f1a102c86 100644 --- a/engines/scumm/gfx.cpp +++ b/engines/scumm/gfx.cpp @@ -1496,7 +1496,6 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, const int y, const // Check whether lights are turned on or not const bool lightsOn = _vm->isLightOn(); - CHECK_HEAP; if (_vm->_game.features & GF_SMALL_HEADER) { smap_ptr = ptr; } else if (_vm->_game.version == 8) { @@ -1542,8 +1541,6 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, const int y, const if (limit > _numStrips - sx) limit = _numStrips - sx; for (int k = 0; k < limit; ++k, ++stripnr, ++sx, ++x) { - CHECK_HEAP; - if (y < vs->tdirty[sx]) vs->tdirty[sx] = y; @@ -1563,7 +1560,6 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, const int y, const if (_vm->_game.version == 8 || _vm->_game.heversion >= 60) transpStrip = true; - CHECK_HEAP; if (vs->hasTwoBuffers) { byte *frontBuf = (byte *)vs->pixels + y * vs->pitch + x * 8; if (lightsOn) @@ -1571,7 +1567,6 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, const int y, const else clear8Col(frontBuf, vs->pitch, height); } - CHECK_HEAP; decodeMask(x, y, width, height, stripnr, numzbuf, zplane_list, transpStrip, flag, tmsk_ptr); |