diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-25 21:47:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-25 21:47:57 +0300 |
commit | 1f4410ab9ac4064ff0cfb0fd31b4e942bee82277 (patch) | |
tree | 4b1089f8ba8b33b26fe74911d31ed2ae0f933824 /src/gui/windows | |
parent | bea613d8ba11a64ccf36a01735f2839894ca9476 (diff) | |
download | mv-1f4410ab9ac4064ff0cfb0fd31b4e942bee82277.tar.gz mv-1f4410ab9ac4064ff0cfb0fd31b4e942bee82277.tar.bz2 mv-1f4410ab9ac4064ff0cfb0fd31b4e942bee82277.tar.xz mv-1f4410ab9ac4064ff0cfb0fd31b4e942bee82277.zip |
Add method safeDrawChildren for safe OpenGL renderer.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/connectiondialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/ministatuswindow.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/connectiondialog.cpp b/src/gui/windows/connectiondialog.cpp index a01d7e353..d7d099d38 100644 --- a/src/gui/windows/connectiondialog.cpp +++ b/src/gui/windows/connectiondialog.cpp @@ -85,6 +85,6 @@ void ConnectionDialog::safeDraw(Graphics *graphics) { BLOCK_START("ConnectionDialog::draw") // Don't draw the window background, only draw the children - drawChildren(graphics); + safeDrawChildren(graphics); BLOCK_END("ConnectionDialog::draw") } diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp index 7341094aa..b7e8e6430 100644 --- a/src/gui/windows/ministatuswindow.cpp +++ b/src/gui/windows/ministatuswindow.cpp @@ -322,7 +322,7 @@ void MiniStatusWindow::draw(Graphics *graphics) void MiniStatusWindow::safeDraw(Graphics *graphics) { BLOCK_START("MiniStatusWindow::draw") - drawChildren(graphics); + safeDrawChildren(graphics); BLOCK_END("MiniStatusWindow::draw") } |