summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/scrollarea.cpp')
-rw-r--r--src/gui/widgets/scrollarea.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp
index b786ccbb7..ebb91f518 100644
--- a/src/gui/widgets/scrollarea.cpp
+++ b/src/gui/widgets/scrollarea.cpp
@@ -286,7 +286,8 @@ void ScrollArea::draw(gcn::Graphics *graphics)
calcHMarker(graphics);
}
}
- static_cast<Graphics *const>(graphics)->drawTile(mVertexes);
+ static_cast<Graphics *const>(graphics)->drawTileCollection(
+ mVertexes);
}
else
{
@@ -378,7 +379,7 @@ void ScrollArea::drawFrame(gcn::Graphics *graphics)
static_cast<Graphics*>(graphics)->calcWindow(
mVertexes2, 0, 0, w, h, background);
}
- static_cast<Graphics*>(graphics)->drawTile(mVertexes2);
+ static_cast<Graphics*>(graphics)->drawTileCollection(mVertexes2);
}
else
{