aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-15 21:31:03 +0000
committerMax Horn2003-05-15 21:31:03 +0000
commit82e2d852f15dea9fb75a4accee3f65f9bc5e3040 (patch)
treef48961d9d8dc05cb4f4673bd6b7358ae37d57562 /scumm/gfx.cpp
parent6cbfc1e3427bf74d124c0050f8169b9f5415be02 (diff)
downloadscummvm-rg350-82e2d852f15dea9fb75a4accee3f65f9bc5e3040.tar.gz
scummvm-rg350-82e2d852f15dea9fb75a4accee3f65f9bc5e3040.tar.bz2
scummvm-rg350-82e2d852f15dea9fb75a4accee3f65f9bc5e3040.zip
cleanup
svn-id: r7538
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 9a2a9fbf52..b299bc701f 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -885,7 +885,7 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, const int width, c
zplane_list[0] = smap_ptr;
- if (_disable_zbuffer)
+ if (_zbufferDisabled)
numzbuf = 0;
else if (_numZBuffer <= 1 || (_vm->_features & GF_AFTER_V2))
numzbuf = _numZBuffer;
@@ -3396,10 +3396,10 @@ void Scumm::useIm01Cursor(byte *im, int w, int h) {
drawBox(0, 0, w - 1, h - 1, 0xFF);
vs->alloctwobuffers = false;
- gdi._disable_zbuffer = true;
+ gdi.disableZBuffer();
gdi.drawBitmap(im, vs, _screenStartStrip, 0, w, h, 0, w >> 3, 0);
vs->alloctwobuffers = true;
- gdi._disable_zbuffer = false;
+ gdi.enableZBuffer();
grabCursor(vs->screenPtr + vs->xstart, w, h);