aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeRenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/ThemeRenderer.cpp')
-rw-r--r--gui/ThemeRenderer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/ThemeRenderer.cpp b/gui/ThemeRenderer.cpp
index 277adc8438..d31067fbfd 100644
--- a/gui/ThemeRenderer.cpp
+++ b/gui/ThemeRenderer.cpp
@@ -303,6 +303,7 @@ void ThemeRenderer::queueDD(DrawData type, const Common::Rect &r, uint32 dynamic
DrawQueue q;
q.type = type;
q.area = r;
+ q.area.clip(_screen->w, _screen->h);
q.dynData = dynamic;
if (_buffering) {
@@ -323,6 +324,7 @@ void ThemeRenderer::queueDDText(DrawData type, const Common::Rect &r, const Comm
DrawQueueText q;
q.type = type;
q.area = r;
+ q.area.clip(_screen->w, _screen->h);
q.text = text;
q.colorId = colorId;
q.align = align;