diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-25 20:43:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-25 21:33:18 +0300 |
commit | bea613d8ba11a64ccf36a01735f2839894ca9476 (patch) | |
tree | 8d5de8bf983f13aec50b3f1234db09b88dff26d3 /src/gui/windows/ministatuswindow.cpp | |
parent | 80b0caa35e4b84b745daef7e4102b428539cdee5 (diff) | |
download | manaplus-bea613d8ba11a64ccf36a01735f2839894ca9476.tar.gz manaplus-bea613d8ba11a64ccf36a01735f2839894ca9476.tar.bz2 manaplus-bea613d8ba11a64ccf36a01735f2839894ca9476.tar.xz manaplus-bea613d8ba11a64ccf36a01735f2839894ca9476.zip |
Fix some issues in safe OpenGL renderer after last changes.
Diffstat (limited to 'src/gui/windows/ministatuswindow.cpp')
-rw-r--r-- | src/gui/windows/ministatuswindow.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp index 27dfc3d75..7341094aa 100644 --- a/src/gui/windows/ministatuswindow.cpp +++ b/src/gui/windows/ministatuswindow.cpp @@ -319,6 +319,13 @@ void MiniStatusWindow::draw(Graphics *graphics) BLOCK_END("MiniStatusWindow::draw") } +void MiniStatusWindow::safeDraw(Graphics *graphics) +{ + BLOCK_START("MiniStatusWindow::draw") + drawChildren(graphics); + BLOCK_END("MiniStatusWindow::draw") +} + void MiniStatusWindow::mouseMoved(MouseEvent &event) { Window::mouseMoved(event); |