aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/text.cpp')
-rw-r--r--engines/lab/text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/text.cpp b/engines/lab/text.cpp
index 6c5ac8ca01..63ec12bad0 100644
--- a/engines/lab/text.cpp
+++ b/engines/lab/text.cpp
@@ -78,7 +78,7 @@ void text(TextFont *tf, uint16 x, uint16 y, uint16 color, const char *text, uint
int32 templeft, LeftInSegment;
uint16 bwidth, mask, curpage, data;
- VGATop = g_lab->getVGABaseAddr();
+ VGATop = g_lab->getCurrentDrawingBuffer();
for (uint16 i = 0; i < numchars; i++) {
RealOffset = (g_lab->_screenWidth * y) + x;