summaryrefslogtreecommitdiff
path: root/src/gui/widgets/basiccontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-25 22:07:05 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-25 22:07:05 +0300
commit2b681b167c1d307f550a8dc7b56a94d13886827e (patch)
tree8ab235ab55893ce4c97a34babd83d71750082de9 /src/gui/widgets/basiccontainer.cpp
parent1f4410ab9ac4064ff0cfb0fd31b4e942bee82277 (diff)
downloadmanaplus-2b681b167c1d307f550a8dc7b56a94d13886827e.tar.gz
manaplus-2b681b167c1d307f550a8dc7b56a94d13886827e.tar.bz2
manaplus-2b681b167c1d307f550a8dc7b56a94d13886827e.tar.xz
manaplus-2b681b167c1d307f550a8dc7b56a94d13886827e.zip
Add method safeDrawFrame for safe OpenGL renderer.
Diffstat (limited to 'src/gui/widgets/basiccontainer.cpp')
-rw-r--r--src/gui/widgets/basiccontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/basiccontainer.cpp b/src/gui/widgets/basiccontainer.cpp
index cd1dac0a2..96dfffef7 100644
--- a/src/gui/widgets/basiccontainer.cpp
+++ b/src/gui/widgets/basiccontainer.cpp
@@ -357,7 +357,7 @@ void BasicContainer::safeDrawChildren(Graphics* graphics)
rec.height += frame2;
graphics->pushClipArea(rec);
BLOCK_START("BasicContainer::drawChildren 1")
- widget->drawFrame(graphics);
+ widget->safeDrawFrame(graphics);
BLOCK_END("BasicContainer::drawChildren 1")
graphics->popClipArea();
}