summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-25 21:47:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-25 21:47:57 +0300
commit1f4410ab9ac4064ff0cfb0fd31b4e942bee82277 (patch)
tree4b1089f8ba8b33b26fe74911d31ed2ae0f933824 /src/gui/windowmenu.h
parentbea613d8ba11a64ccf36a01735f2839894ca9476 (diff)
downloadManaVerse-1f4410ab9ac4064ff0cfb0fd31b4e942bee82277.tar.gz
ManaVerse-1f4410ab9ac4064ff0cfb0fd31b4e942bee82277.tar.bz2
ManaVerse-1f4410ab9ac4064ff0cfb0fd31b4e942bee82277.tar.xz
ManaVerse-1f4410ab9ac4064ff0cfb0fd31b4e942bee82277.zip
Add method safeDrawChildren for safe OpenGL renderer.
Diffstat (limited to 'src/gui/windowmenu.h')
-rw-r--r--src/gui/windowmenu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h
index e68665aac..9a26ae603 100644
--- a/src/gui/windowmenu.h
+++ b/src/gui/windowmenu.h
@@ -87,6 +87,8 @@ class WindowMenu final : public Container,
protected:
void drawChildren(Graphics* graphics) override final;
+ void safeDrawChildren(Graphics* graphics) override final;
+
private:
inline void addButton(const char *const text,
const std::string &description,