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/connectiondialog.cpp | |
parent | 80b0caa35e4b84b745daef7e4102b428539cdee5 (diff) | |
download | ManaVerse-bea613d8ba11a64ccf36a01735f2839894ca9476.tar.gz ManaVerse-bea613d8ba11a64ccf36a01735f2839894ca9476.tar.bz2 ManaVerse-bea613d8ba11a64ccf36a01735f2839894ca9476.tar.xz ManaVerse-bea613d8ba11a64ccf36a01735f2839894ca9476.zip |
Fix some issues in safe OpenGL renderer after last changes.
Diffstat (limited to 'src/gui/windows/connectiondialog.cpp')
-rw-r--r-- | src/gui/windows/connectiondialog.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/windows/connectiondialog.cpp b/src/gui/windows/connectiondialog.cpp index bdbd6af69..a01d7e353 100644 --- a/src/gui/windows/connectiondialog.cpp +++ b/src/gui/windows/connectiondialog.cpp @@ -80,3 +80,11 @@ void ConnectionDialog::draw(Graphics *graphics) drawChildren(graphics); BLOCK_END("ConnectionDialog::draw") } + +void ConnectionDialog::safeDraw(Graphics *graphics) +{ + BLOCK_START("ConnectionDialog::draw") + // Don't draw the window background, only draw the children + drawChildren(graphics); + BLOCK_END("ConnectionDialog::draw") +} |