From eade4818db87cc41e4c014688e5ee0d15ede6912 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Aug 2014 02:33:48 +0300 Subject: Move chat command /dumpogl into actions. --- src/actions/actions.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/actions/actions.cpp') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 343caedf7..6d62f9770 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -73,6 +73,9 @@ #include "gui/widgets/tabs/chattabtype.h" #include "render/graphics.h" +#if defined USE_OPENGL +#include "render/normalopenglgraphics.h" +#endif #include "net/beinghandler.h" #include "net/chathandler.h" @@ -960,4 +963,12 @@ impHandler(dumpTests) return true; } +impHandler0(dumpOGL) +{ +#if defined USE_OPENGL && !defined ANDROID + NormalOpenGLGraphics::dumpSettings(); +#endif + return true; +} + } // namespace Actions -- cgit v1.2.3-70-g09d2