aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index a57a9e0f2f..fc35781d74 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -457,8 +457,8 @@ void Gdi::drawStripToScreen(VirtScreen *vs, int x, int w, int t, int b) {
_vm->_system->copy_rect(ptr, _vm->_screenWidth, x, vs->topline + t, w, height);
}
-void Gdi::clearUpperMask() {
- memset(_vm->getResourceAddress(rtBuffer, 9), 0, _imgBufOffs[1] - _imgBufOffs[0]);
+void Gdi::clearCharsetMask() {
+ memset(_vm->getResourceAddress(rtBuffer, 9), 0, _imgBufOffs[1]);
}
/**